pub struct ProviderRuntimeVersion(/* private fields */);Implementations§
Source§impl ProviderRuntimeVersion
impl ProviderRuntimeVersion
pub fn new( value: impl Into<String>, ) -> Result<ProviderRuntimeVersion, CompatibilityIdentifierError>
pub fn as_str(&self) -> &str
Trait Implementations§
Source§impl Clone for ProviderRuntimeVersion
impl Clone for ProviderRuntimeVersion
Source§fn clone(&self) -> ProviderRuntimeVersion
fn clone(&self) -> ProviderRuntimeVersion
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ProviderRuntimeVersion
impl Debug for ProviderRuntimeVersion
Source§impl<'de> Deserialize<'de> for ProviderRuntimeVersion
impl<'de> Deserialize<'de> for ProviderRuntimeVersion
Source§fn deserialize<D>(
deserializer: D,
) -> Result<ProviderRuntimeVersion, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D,
) -> Result<ProviderRuntimeVersion, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for ProviderRuntimeVersion
impl Display for ProviderRuntimeVersion
impl Eq for ProviderRuntimeVersion
Source§impl FromStr for ProviderRuntimeVersion
impl FromStr for ProviderRuntimeVersion
Source§type Err = CompatibilityIdentifierError
type Err = CompatibilityIdentifierError
The associated error which can be returned from parsing.
Source§fn from_str(
value: &str,
) -> Result<ProviderRuntimeVersion, <ProviderRuntimeVersion as FromStr>::Err>
fn from_str( value: &str, ) -> Result<ProviderRuntimeVersion, <ProviderRuntimeVersion as FromStr>::Err>
Parses a string
s to return a value of this type. Read moreSource§impl Hash for ProviderRuntimeVersion
impl Hash for ProviderRuntimeVersion
Source§impl Ord for ProviderRuntimeVersion
impl Ord for ProviderRuntimeVersion
Source§fn cmp(&self, other: &ProviderRuntimeVersion) -> Ordering
fn cmp(&self, other: &ProviderRuntimeVersion) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ProviderRuntimeVersion
impl PartialEq for ProviderRuntimeVersion
Source§impl PartialOrd for ProviderRuntimeVersion
impl PartialOrd for ProviderRuntimeVersion
Source§impl Serialize for ProviderRuntimeVersion
impl Serialize for ProviderRuntimeVersion
Source§fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for ProviderRuntimeVersion
Auto Trait Implementations§
impl Freeze for ProviderRuntimeVersion
impl RefUnwindSafe for ProviderRuntimeVersion
impl Send for ProviderRuntimeVersion
impl Sync for ProviderRuntimeVersion
impl Unpin for ProviderRuntimeVersion
impl UnsafeUnpin for ProviderRuntimeVersion
impl UnwindSafe for ProviderRuntimeVersion
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