pub struct SessionApiKeyListItem {
pub id: String,
pub name: String,
pub type: Option<String>,
pub is_active: bool,
pub last_used: Option<String>,
pub created_at: String,
pub prefix: Option<String>,
}Expand description
API key summary item returned by GET /api/v1/keys.
Fields§
§id: StringAPI key identifier.
name: StringUser-defined key name.
type: Option<String>Key type if returned by the endpoint (standard, platform).
is_active: boolWhether the key is active.
last_used: Option<String>Last-used timestamp when available.
created_at: StringCreation timestamp.
prefix: Option<String>Masked prefix for display purposes.
Trait Implementations§
Source§impl Clone for SessionApiKeyListItem
impl Clone for SessionApiKeyListItem
Source§fn clone(&self) -> SessionApiKeyListItem
fn clone(&self) -> SessionApiKeyListItem
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 SessionApiKeyListItem
impl Debug for SessionApiKeyListItem
Source§impl<'de> Deserialize<'de> for SessionApiKeyListItem
impl<'de> Deserialize<'de> for SessionApiKeyListItem
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 SessionApiKeyListItem
impl RefUnwindSafe for SessionApiKeyListItem
impl Send for SessionApiKeyListItem
impl Sync for SessionApiKeyListItem
impl Unpin for SessionApiKeyListItem
impl UnsafeUnpin for SessionApiKeyListItem
impl UnwindSafe for SessionApiKeyListItem
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