pub struct ApiKeyEntity {
pub id: Option<i64>,
pub name: Option<String>,
pub description: Option<String>,
pub descriptive_label: Option<String>,
pub key: Option<String>,
pub user_id: Option<i64>,
pub platform: Option<String>,
pub permission_set: Option<String>,
pub url: Option<String>,
pub created_at: Option<String>,
pub expires_at: Option<String>,
pub last_use_at: Option<String>,
}
Expand description
API Key entity from Files.com API
Fields§
§id: Option<i64>
API Key ID
name: Option<String>
API Key name
description: Option<String>
API Key description
descriptive_label: Option<String>
Descriptive label
key: Option<String>
The actual API key (only returned on creation)
user_id: Option<i64>
User ID this key belongs to
platform: Option<String>
Platform this key is for
permission_set: Option<String>
Permission set for this key
url: Option<String>
URL this key is associated with
created_at: Option<String>
Created at timestamp
expires_at: Option<String>
Expires at timestamp
last_use_at: Option<String>
Last use at timestamp
Trait Implementations§
Source§impl Clone for ApiKeyEntity
impl Clone for ApiKeyEntity
Source§fn clone(&self) -> ApiKeyEntity
fn clone(&self) -> ApiKeyEntity
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ApiKeyEntity
impl Debug for ApiKeyEntity
Source§impl<'de> Deserialize<'de> for ApiKeyEntity
impl<'de> Deserialize<'de> for ApiKeyEntity
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ApiKeyEntity
impl RefUnwindSafe for ApiKeyEntity
impl Send for ApiKeyEntity
impl Sync for ApiKeyEntity
impl Unpin for ApiKeyEntity
impl UnwindSafe for ApiKeyEntity
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