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