pub struct ProviderStateRevision(/* private fields */);Implementations§
Source§impl ProviderStateRevision
impl ProviderStateRevision
pub fn new( value: impl Into<String>, ) -> Result<ProviderStateRevision, IdentityError>
pub fn as_str(&self) -> &str
pub fn into_string(self) -> String
Trait Implementations§
Source§impl Clone for ProviderStateRevision
impl Clone for ProviderStateRevision
Source§fn clone(&self) -> ProviderStateRevision
fn clone(&self) -> ProviderStateRevision
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 ProviderStateRevision
impl Debug for ProviderStateRevision
Source§impl<'de> Deserialize<'de> for ProviderStateRevision
impl<'de> Deserialize<'de> for ProviderStateRevision
Source§fn deserialize<D>(
deserializer: D,
) -> Result<ProviderStateRevision, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D,
) -> Result<ProviderStateRevision, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for ProviderStateRevision
impl Display for ProviderStateRevision
impl Eq for ProviderStateRevision
Source§impl FromStr for ProviderStateRevision
impl FromStr for ProviderStateRevision
Source§type Err = IdentityError
type Err = IdentityError
The associated error which can be returned from parsing.
Source§fn from_str(
value: &str,
) -> Result<ProviderStateRevision, <ProviderStateRevision as FromStr>::Err>
fn from_str( value: &str, ) -> Result<ProviderStateRevision, <ProviderStateRevision as FromStr>::Err>
Parses a string
s to return a value of this type. Read moreSource§impl Hash for ProviderStateRevision
impl Hash for ProviderStateRevision
Source§impl JsonSchema for ProviderStateRevision
impl JsonSchema for ProviderStateRevision
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§fn json_schema(_generator: &mut SchemaGenerator) -> Schema
fn json_schema(_generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§impl Ord for ProviderStateRevision
impl Ord for ProviderStateRevision
Source§fn cmp(&self, other: &ProviderStateRevision) -> Ordering
fn cmp(&self, other: &ProviderStateRevision) -> 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
Source§impl PartialEq for ProviderStateRevision
impl PartialEq for ProviderStateRevision
Source§fn eq(&self, other: &ProviderStateRevision) -> bool
fn eq(&self, other: &ProviderStateRevision) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for ProviderStateRevision
impl PartialOrd for ProviderStateRevision
Source§impl Serialize for ProviderStateRevision
impl Serialize for ProviderStateRevision
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 ProviderStateRevision
Auto Trait Implementations§
impl Freeze for ProviderStateRevision
impl RefUnwindSafe for ProviderStateRevision
impl Send for ProviderStateRevision
impl Sync for ProviderStateRevision
impl Unpin for ProviderStateRevision
impl UnsafeUnpin for ProviderStateRevision
impl UnwindSafe for ProviderStateRevision
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