pub struct ApiKey {
pub api_key_id: String,
pub created_at: DateTime,
pub created_by_account_id: String,
pub expires_at: Option<DateTime>,
pub name: String,
pub permissions: Vec<String>,
pub permissions_updated_at: Option<DateTime>,
pub project_id: String,
pub revoked_at: Option<DateTime>,
}Fields§
§api_key_id: String§created_at: DateTime§created_by_account_id: String§expires_at: Option<DateTime>§name: String§permissions: Vec<String>§permissions_updated_at: Option<DateTime>§project_id: String§revoked_at: Option<DateTime>Implementations§
Source§impl<'de> ApiKey
impl<'de> ApiKey
pub fn deserialize<__D>(__deserializer: __D) -> Result<ApiKey, __D::Error>where
__D: Deserializer<'de>,
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ApiKey
impl<'de> Deserialize<'de> for ApiKey
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 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