pub struct MintedSecret {
pub secret: Secret,
pub expires_at_ms: u64,
}Expand description
A freshly minted secret and when it expires (epoch ms).
Fields§
§secret: Secret§expires_at_ms: u64Trait Implementations§
Source§impl Clone for MintedSecret
impl Clone for MintedSecret
Source§fn clone(&self) -> MintedSecret
fn clone(&self) -> MintedSecret
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 moreAuto Trait Implementations§
impl Freeze for MintedSecret
impl RefUnwindSafe for MintedSecret
impl Send for MintedSecret
impl Sync for MintedSecret
impl Unpin for MintedSecret
impl UnsafeUnpin for MintedSecret
impl UnwindSafe for MintedSecret
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