pub struct MintTokenResponse {
pub token: String,
pub token_id: String,
pub expires_at: String,
}Expand description
Returned only on creation — the raw token is shown once and never again.
Fields§
§token: String§token_id: String§expires_at: StringTrait Implementations§
Source§impl Clone for MintTokenResponse
impl Clone for MintTokenResponse
Source§fn clone(&self) -> MintTokenResponse
fn clone(&self) -> MintTokenResponse
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 MintTokenResponse
impl Debug for MintTokenResponse
Source§impl<'de> Deserialize<'de> for MintTokenResponse
impl<'de> Deserialize<'de> for MintTokenResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for MintTokenResponse
impl RefUnwindSafe for MintTokenResponse
impl Send for MintTokenResponse
impl Sync for MintTokenResponse
impl Unpin for MintTokenResponse
impl UnsafeUnpin for MintTokenResponse
impl UnwindSafe for MintTokenResponse
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