pub struct ApiKeyToken {
pub id: ApiKeyId,
pub token: String,
}Expand description
Token and ID of the newly created ApiKey.
Fields§
§id: ApiKeyIdThe ID of the API key.
token: StringThe token of the API key.
Trait Implementations§
Source§impl Clone for ApiKeyToken
impl Clone for ApiKeyToken
Source§fn clone(&self) -> ApiKeyToken
fn clone(&self) -> ApiKeyToken
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 ApiKeyToken
impl Debug for ApiKeyToken
Source§impl<'de> Deserialize<'de> for ApiKeyToken
impl<'de> Deserialize<'de> for ApiKeyToken
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 ApiKeyToken
impl RefUnwindSafe for ApiKeyToken
impl Send for ApiKeyToken
impl Sync for ApiKeyToken
impl Unpin for ApiKeyToken
impl UnsafeUnpin for ApiKeyToken
impl UnwindSafe for ApiKeyToken
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