pub struct KeyInfo {
pub id: u8,
pub config: KeyConfig,
pub server: Server,
pub expires_at: DateTime<Utc>,
pub is_active: bool,
}Expand description
Represents a key with its metadata
Fields§
§id: u8§config: KeyConfig§server: Server§expires_at: DateTime<Utc>§is_active: boolTrait Implementations§
Auto Trait Implementations§
impl Freeze for KeyInfo
impl RefUnwindSafe for KeyInfo
impl Send for KeyInfo
impl Sync for KeyInfo
impl Unpin for KeyInfo
impl UnsafeUnpin for KeyInfo
impl UnwindSafe for KeyInfo
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