pub struct MintedToken {
pub token: VerificationToken,
pub plaintext: String,
}Fields§
§token: VerificationToken§plaintext: StringPlaintext shown to the user EXACTLY once (in the email body). Never persisted server-side after this struct is dropped.
Trait Implementations§
Source§impl Clone for MintedToken
impl Clone for MintedToken
Source§fn clone(&self) -> MintedToken
fn clone(&self) -> MintedToken
Returns a duplicate of the value. Read more
1.0.0 · 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 MintedToken
impl RefUnwindSafe for MintedToken
impl Send for MintedToken
impl Sync for MintedToken
impl Unpin for MintedToken
impl UnsafeUnpin for MintedToken
impl UnwindSafe for MintedToken
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