pub struct SupportHandoffToken(/* private fields */);Implementations§
Source§impl SupportHandoffToken
impl SupportHandoffToken
Sourcepub fn generate() -> Self
pub fn generate() -> Self
Generates a 244-bit opaque bearer from two independent UUIDv4 values.
pub fn parse(value: impl Into<String>) -> Result<Self, SupportEntryError>
pub fn expose_sensitive(&self) -> &str
pub fn digest(&self) -> SupportHandoffDigest
Trait Implementations§
Source§impl Clone for SupportHandoffToken
impl Clone for SupportHandoffToken
Source§fn clone(&self) -> SupportHandoffToken
fn clone(&self) -> SupportHandoffToken
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 SupportHandoffToken
impl Debug for SupportHandoffToken
impl Eq for SupportHandoffToken
Source§impl PartialEq for SupportHandoffToken
impl PartialEq for SupportHandoffToken
impl StructuralPartialEq for SupportHandoffToken
Auto Trait Implementations§
impl Freeze for SupportHandoffToken
impl RefUnwindSafe for SupportHandoffToken
impl Send for SupportHandoffToken
impl Sync for SupportHandoffToken
impl Unpin for SupportHandoffToken
impl UnsafeUnpin for SupportHandoffToken
impl UnwindSafe for SupportHandoffToken
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,
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.