pub struct InteractionId(pub String);Expand description
Strongly-typed Interaction ID.
Tuple Fields§
§0: StringImplementations§
Trait Implementations§
Source§impl AsRef<str> for InteractionId
impl AsRef<str> for InteractionId
Source§impl Clone for InteractionId
impl Clone for InteractionId
Source§fn clone(&self) -> InteractionId
fn clone(&self) -> InteractionId
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 InteractionId
impl Debug for InteractionId
Source§impl Default for InteractionId
impl Default for InteractionId
Source§fn default() -> InteractionId
fn default() -> InteractionId
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InteractionId
impl<'de> Deserialize<'de> for InteractionId
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<InteractionId, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<InteractionId, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for InteractionId
impl Display for InteractionId
impl Eq for InteractionId
Source§impl From<&InteractionId> for InteractionId
impl From<&InteractionId> for InteractionId
Source§fn from(value: &InteractionId) -> InteractionId
fn from(value: &InteractionId) -> InteractionId
Converts to this type from the input type.
Source§impl From<&str> for InteractionId
impl From<&str> for InteractionId
Source§fn from(value: &str) -> InteractionId
fn from(value: &str) -> InteractionId
Converts to this type from the input type.
Source§impl From<InteractionId> for String
impl From<InteractionId> for String
Source§fn from(value: InteractionId) -> String
fn from(value: InteractionId) -> String
Converts to this type from the input type.
Source§impl From<String> for InteractionId
impl From<String> for InteractionId
Source§fn from(value: String) -> InteractionId
fn from(value: String) -> InteractionId
Converts to this type from the input type.
Source§impl Hash for InteractionId
impl Hash for InteractionId
Source§impl PartialEq for InteractionId
impl PartialEq for InteractionId
Source§fn eq(&self, other: &InteractionId) -> bool
fn eq(&self, other: &InteractionId) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialEq<&str> for InteractionId
impl PartialEq<&str> for InteractionId
Source§impl Serialize for InteractionId
impl Serialize for InteractionId
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 InteractionId
Auto Trait Implementations§
impl Freeze for InteractionId
impl RefUnwindSafe for InteractionId
impl Send for InteractionId
impl Sync for InteractionId
impl Unpin for InteractionId
impl UnsafeUnpin for InteractionId
impl UnwindSafe for InteractionId
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.