pub struct LinkSecret(/* private fields */);Expand description
The secret half of a link token: 32 random bytes the caller generates.
Shown to the operator once, as to_hex. It is not
Serialize, and its Debug output is redacted, so it can’t end up in a
record body or a log by accident.
Implementations§
Source§impl LinkSecret
impl LinkSecret
Trait Implementations§
Source§impl Clone for LinkSecret
impl Clone for LinkSecret
Source§fn clone(&self) -> LinkSecret
fn clone(&self) -> LinkSecret
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 LinkSecret
impl Debug for LinkSecret
impl Eq for LinkSecret
Source§impl PartialEq for LinkSecret
impl PartialEq for LinkSecret
impl StructuralPartialEq for LinkSecret
Auto Trait Implementations§
impl Freeze for LinkSecret
impl RefUnwindSafe for LinkSecret
impl Send for LinkSecret
impl Sync for LinkSecret
impl Unpin for LinkSecret
impl UnsafeUnpin for LinkSecret
impl UnwindSafe for LinkSecret
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