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