pub struct AuthKeyEntry {
pub role: String,
}Expand description
Auth configuration for a single role-mapped key.
Fields§
§role: StringThe role assigned to this key (e.g., “architect”, “coder”).
Trait Implementations§
Source§impl Clone for AuthKeyEntry
impl Clone for AuthKeyEntry
Source§fn clone(&self) -> AuthKeyEntry
fn clone(&self) -> AuthKeyEntry
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 moreAuto Trait Implementations§
impl Freeze for AuthKeyEntry
impl RefUnwindSafe for AuthKeyEntry
impl Send for AuthKeyEntry
impl Sync for AuthKeyEntry
impl Unpin for AuthKeyEntry
impl UnsafeUnpin for AuthKeyEntry
impl UnwindSafe for AuthKeyEntry
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