pub struct NamespaceKeyInfo {
pub key_id: String,
pub name: String,
pub namespace: String,
pub created_at: u64,
pub active: bool,
pub expires_at: Option<u64>,
}Expand description
Namespace-scoped API key metadata — no secret included (SEC-1).
Fields§
§key_id: String§name: String§namespace: String§created_at: u64§active: bool§expires_at: Option<u64>Trait Implementations§
Source§impl Clone for NamespaceKeyInfo
impl Clone for NamespaceKeyInfo
Source§fn clone(&self) -> NamespaceKeyInfo
fn clone(&self) -> NamespaceKeyInfo
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 NamespaceKeyInfo
impl Debug for NamespaceKeyInfo
Source§impl<'de> Deserialize<'de> for NamespaceKeyInfo
impl<'de> Deserialize<'de> for NamespaceKeyInfo
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 NamespaceKeyInfo
impl RefUnwindSafe for NamespaceKeyInfo
impl Send for NamespaceKeyInfo
impl Sync for NamespaceKeyInfo
impl Unpin for NamespaceKeyInfo
impl UnsafeUnpin for NamespaceKeyInfo
impl UnwindSafe for NamespaceKeyInfo
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