pub struct AuthTokenOut {
pub created_at: String,
pub expires_at: Option<String>,
pub id: String,
pub name: Option<String>,
pub scopes: Option<Vec<String>>,
pub token: String,
}
Fields§
§created_at: String
§expires_at: Option<String>
§id: String
The key’s ID
name: Option<String>
§scopes: Option<Vec<String>>
§token: String
Implementations§
Source§impl AuthTokenOut
impl AuthTokenOut
Trait Implementations§
Source§impl Clone for AuthTokenOut
impl Clone for AuthTokenOut
Source§fn clone(&self) -> AuthTokenOut
fn clone(&self) -> AuthTokenOut
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 moreSource§impl Debug for AuthTokenOut
impl Debug for AuthTokenOut
Source§impl Default for AuthTokenOut
impl Default for AuthTokenOut
Source§fn default() -> AuthTokenOut
fn default() -> AuthTokenOut
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AuthTokenOut
impl<'de> Deserialize<'de> for AuthTokenOut
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
Source§impl PartialEq for AuthTokenOut
impl PartialEq for AuthTokenOut
Source§impl Serialize for AuthTokenOut
impl Serialize for AuthTokenOut
impl StructuralPartialEq for AuthTokenOut
Auto Trait Implementations§
impl Freeze for AuthTokenOut
impl RefUnwindSafe for AuthTokenOut
impl Send for AuthTokenOut
impl Sync for AuthTokenOut
impl Unpin for AuthTokenOut
impl UnwindSafe for AuthTokenOut
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