pub struct ApiKeyInfo {
pub id: Uuid,
pub name: String,
pub tenant_id: String,
pub role: Role,
pub created_at: DateTime<Utc>,
pub expires_at: Option<DateTime<Utc>>,
pub active: bool,
pub last_used: Option<DateTime<Utc>>,
}Fields§
§id: Uuid§name: String§tenant_id: String§role: Role§created_at: DateTime<Utc>§expires_at: Option<DateTime<Utc>>§active: bool§last_used: Option<DateTime<Utc>>Trait Implementations§
Source§impl Debug for ApiKeyInfo
impl Debug for ApiKeyInfo
Auto Trait Implementations§
impl Freeze for ApiKeyInfo
impl RefUnwindSafe for ApiKeyInfo
impl Send for ApiKeyInfo
impl Sync for ApiKeyInfo
impl Unpin for ApiKeyInfo
impl UnsafeUnpin for ApiKeyInfo
impl UnwindSafe for ApiKeyInfo
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