pub struct ApiKeyValidation {
pub tn_id: TnId,
pub id_tag: Box<str>,
pub key_id: i64,
pub scopes: Option<Box<str>>,
pub roles: Option<Box<str>>,
}Expand description
Result of validating an API key
Fields§
§tn_id: TnId§id_tag: Box<str>§key_id: i64§scopes: Option<Box<str>>§roles: Option<Box<str>>Trait Implementations§
Auto Trait Implementations§
impl Freeze for ApiKeyValidation
impl RefUnwindSafe for ApiKeyValidation
impl Send for ApiKeyValidation
impl Sync for ApiKeyValidation
impl Unpin for ApiKeyValidation
impl UnsafeUnpin for ApiKeyValidation
impl UnwindSafe for ApiKeyValidation
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