pub enum SystemVersion {
Opaque(String),
Semantic(Version),
}
Expand description
Represents the version of an update package.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for SystemVersion
impl Clone for SystemVersion
Source§fn clone(&self) -> SystemVersion
fn clone(&self) -> SystemVersion
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SystemVersion
impl Debug for SystemVersion
Source§impl<'de> Deserialize<'de> for SystemVersion
impl<'de> Deserialize<'de> for SystemVersion
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for SystemVersion
impl Display for SystemVersion
Source§impl FromStr for SystemVersion
impl FromStr for SystemVersion
Source§impl PartialEq for SystemVersion
impl PartialEq for SystemVersion
Source§impl PartialOrd for SystemVersion
impl PartialOrd for SystemVersion
Source§impl Serialize for SystemVersion
impl Serialize for SystemVersion
impl Eq for SystemVersion
impl StructuralPartialEq for SystemVersion
Auto Trait Implementations§
impl Freeze for SystemVersion
impl RefUnwindSafe for SystemVersion
impl Send for SystemVersion
impl Sync for SystemVersion
impl Unpin for SystemVersion
impl UnwindSafe for SystemVersion
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)