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