pub struct ApiKeySummary {
pub id: u64,
pub description: Option<String>,
pub username: Option<String>,
pub last_used_at: Option<String>,
pub created_at: Option<String>,
pub revoked_at: Option<String>,
pub truncated_key: Option<String>,
}Expand description
One row from /admin/api/keys.json.
Fields§
§id: u64§description: Option<String>§username: Option<String>§last_used_at: Option<String>§created_at: Option<String>§revoked_at: Option<String>§truncated_key: Option<String>Trait Implementations§
Source§impl Clone for ApiKeySummary
impl Clone for ApiKeySummary
Source§fn clone(&self) -> ApiKeySummary
fn clone(&self) -> ApiKeySummary
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 ApiKeySummary
impl Debug for ApiKeySummary
Source§impl<'de> Deserialize<'de> for ApiKeySummary
impl<'de> Deserialize<'de> for ApiKeySummary
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 ApiKeySummary
impl RefUnwindSafe for ApiKeySummary
impl Send for ApiKeySummary
impl Sync for ApiKeySummary
impl Unpin for ApiKeySummary
impl UnsafeUnpin for ApiKeySummary
impl UnwindSafe for ApiKeySummary
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