#[repr(u32)]
pub enum ComponentVersion {
V0,
V1,
}
Expand description
The umbrella version of the component.
Variants§
Trait Implementations§
source§impl Clone for ComponentVersion
impl Clone for ComponentVersion
source§fn clone(&self) -> ComponentVersion
fn clone(&self) -> ComponentVersion
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 ComponentVersion
impl Debug for ComponentVersion
source§impl Default for ComponentVersion
impl Default for ComponentVersion
source§impl<'de> Deserialize<'de> for ComponentVersion
impl<'de> Deserialize<'de> for ComponentVersion
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 From<ComponentVersion> for u32
impl From<ComponentVersion> for u32
source§fn from(v: ComponentVersion) -> Self
fn from(v: ComponentVersion) -> Self
Converts to this type from the input type.
source§impl PartialEq<ComponentVersion> for ComponentVersion
impl PartialEq<ComponentVersion> for ComponentVersion
source§fn eq(&self, other: &ComponentVersion) -> bool
fn eq(&self, other: &ComponentVersion) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.