pub struct ApiKey {
pub id: i32,
pub id_tag_prefix: String,
pub id_tag_domain: String,
pub key_prefix: String,
pub name: Option<String>,
pub created_at: Timestamp,
pub last_used_at: Option<Timestamp>,
pub expires_at: Option<Timestamp>,
}Expand description
Represents an API key in the system
Fields§
§id: i32§id_tag_prefix: String§id_tag_domain: String§key_prefix: String§name: Option<String>§created_at: Timestamp§last_used_at: Option<Timestamp>§expires_at: Option<Timestamp>Trait Implementations§
Auto Trait Implementations§
impl Freeze for ApiKey
impl RefUnwindSafe for ApiKey
impl Send for ApiKey
impl Sync for ApiKey
impl Unpin for ApiKey
impl UnsafeUnpin for ApiKey
impl UnwindSafe for ApiKey
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