pub struct ProviderContractRevision(/* private fields */);Implementations§
Source§impl ProviderContractRevision
impl ProviderContractRevision
pub fn new( value: impl Into<String>, ) -> Result<ProviderContractRevision, CompatibilityIdentifierError>
pub fn as_str(&self) -> &str
Trait Implementations§
Source§impl Clone for ProviderContractRevision
impl Clone for ProviderContractRevision
Source§fn clone(&self) -> ProviderContractRevision
fn clone(&self) -> ProviderContractRevision
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 ProviderContractRevision
impl Debug for ProviderContractRevision
Source§impl<'de> Deserialize<'de> for ProviderContractRevision
impl<'de> Deserialize<'de> for ProviderContractRevision
Source§fn deserialize<D>(
deserializer: D,
) -> Result<ProviderContractRevision, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D,
) -> Result<ProviderContractRevision, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for ProviderContractRevision
impl Display for ProviderContractRevision
impl Eq for ProviderContractRevision
Source§impl FromStr for ProviderContractRevision
impl FromStr for ProviderContractRevision
Source§type Err = CompatibilityIdentifierError
type Err = CompatibilityIdentifierError
The associated error which can be returned from parsing.
Source§fn from_str(
value: &str,
) -> Result<ProviderContractRevision, <ProviderContractRevision as FromStr>::Err>
fn from_str( value: &str, ) -> Result<ProviderContractRevision, <ProviderContractRevision as FromStr>::Err>
Parses a string
s to return a value of this type. Read moreSource§impl Hash for ProviderContractRevision
impl Hash for ProviderContractRevision
Source§impl Ord for ProviderContractRevision
impl Ord for ProviderContractRevision
Source§fn cmp(&self, other: &ProviderContractRevision) -> Ordering
fn cmp(&self, other: &ProviderContractRevision) -> 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 ProviderContractRevision
impl PartialEq for ProviderContractRevision
Source§impl PartialOrd for ProviderContractRevision
impl PartialOrd for ProviderContractRevision
Source§impl Serialize for ProviderContractRevision
impl Serialize for ProviderContractRevision
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 ProviderContractRevision
Auto Trait Implementations§
impl Freeze for ProviderContractRevision
impl RefUnwindSafe for ProviderContractRevision
impl Send for ProviderContractRevision
impl Sync for ProviderContractRevision
impl Unpin for ProviderContractRevision
impl UnsafeUnpin for ProviderContractRevision
impl UnwindSafe for ProviderContractRevision
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