pub struct ApiKeyInfo {
pub key_id: i64,
pub key_prefix: Box<str>,
pub name: Option<Box<str>>,
pub scopes: Option<Box<str>>,
pub expires_at: Option<Timestamp>,
pub last_used_at: Option<Timestamp>,
pub created_at: Timestamp,
}Expand description
API key information (without the secret key)
Fields§
§key_id: i64§key_prefix: Box<str>§name: Option<Box<str>>§scopes: Option<Box<str>>§expires_at: Option<Timestamp>§last_used_at: Option<Timestamp>§created_at: TimestampTrait Implementations§
Source§impl Clone for ApiKeyInfo
impl Clone for ApiKeyInfo
Source§fn clone(&self) -> ApiKeyInfo
fn clone(&self) -> ApiKeyInfo
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 ApiKeyInfo
impl Debug for ApiKeyInfo
Source§impl<'de> Deserialize<'de> for ApiKeyInfo
impl<'de> Deserialize<'de> for ApiKeyInfo
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 ApiKeyInfo
impl RefUnwindSafe for ApiKeyInfo
impl Send for ApiKeyInfo
impl Sync for ApiKeyInfo
impl Unpin for ApiKeyInfo
impl UnsafeUnpin for ApiKeyInfo
impl UnwindSafe for ApiKeyInfo
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