pub struct ApiKey {
pub apikey: String,
pub id: ApiKeyId,
pub sid: ServerId,
pub cldbid: ClientDatabaseId,
pub scope: ApiKeyScope,
pub time_left: u64,
/* private fields */
}
Expand description
An API Key returned from [Client.apikeyadd
].
Fields§
§apikey: String
§id: ApiKeyId
§sid: ServerId
§cldbid: ClientDatabaseId
§scope: ApiKeyScope
§time_left: u64
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for ApiKey
impl Send for ApiKey
impl Sync for ApiKey
impl Unpin 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