pub struct ApiKeyEntry {
pub key: String,
pub principal: String,
pub roles: Vec<String>,
}Expand description
API Key entry
Fields§
§key: StringThe API key value
principal: StringPrincipal/user name this key maps to
roles: Vec<String>Roles/groups for this key
Implementations§
Trait Implementations§
Source§impl Clone for ApiKeyEntry
impl Clone for ApiKeyEntry
Source§fn clone(&self) -> ApiKeyEntry
fn clone(&self) -> ApiKeyEntry
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 moreAuto Trait Implementations§
impl Freeze for ApiKeyEntry
impl RefUnwindSafe for ApiKeyEntry
impl Send for ApiKeyEntry
impl Sync for ApiKeyEntry
impl Unpin for ApiKeyEntry
impl UnsafeUnpin for ApiKeyEntry
impl UnwindSafe for ApiKeyEntry
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