pub struct StaticApiKeyEntry {
pub key_hash: String,
pub scopes: Vec<String>,
pub name: String,
}Expand description
A single static API key entry.
Fields§
§key_hash: StringHex-encoded hash, optionally prefixed with algorithm (e.g. sha256:abc...)
scopes: Vec<String>Scopes granted by this key
name: StringHuman-readable name for audit logging
Trait Implementations§
Source§impl Clone for StaticApiKeyEntry
impl Clone for StaticApiKeyEntry
Source§fn clone(&self) -> StaticApiKeyEntry
fn clone(&self) -> StaticApiKeyEntry
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 StaticApiKeyEntry
impl Debug for StaticApiKeyEntry
Source§impl<'de> Deserialize<'de> for StaticApiKeyEntry
impl<'de> Deserialize<'de> for StaticApiKeyEntry
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 StaticApiKeyEntry
impl RefUnwindSafe for StaticApiKeyEntry
impl Send for StaticApiKeyEntry
impl Sync for StaticApiKeyEntry
impl Unpin for StaticApiKeyEntry
impl UnsafeUnpin for StaticApiKeyEntry
impl UnwindSafe for StaticApiKeyEntry
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