pub struct OrganizationApiKey {
pub object: String,
pub id: String,
pub owner: OrganizationApiKeyOwner,
pub name: String,
pub obfuscated_value: String,
pub last_used_at: Option<String>,
pub expires_at: Option<String>,
pub permissions: Vec<String>,
pub created_at: String,
pub updated_at: String,
}Fields§
§object: StringDistinguishes the API Key object.
id: StringUnique identifier of the API Key.
owner: OrganizationApiKeyOwnerThe entity that owns the API Key.
name: StringA descriptive name for the API Key.
obfuscated_value: StringAn obfuscated representation of the API Key value.
last_used_at: Option<String>Timestamp of when the API Key was last used.
expires_at: Option<String>Timestamp when the API Key expires. Null means the key does not expire.
permissions: Vec<String>The permission slugs assigned to the API Key.
created_at: StringAn ISO 8601 timestamp.
updated_at: StringAn ISO 8601 timestamp.
Trait Implementations§
Source§impl Clone for OrganizationApiKey
impl Clone for OrganizationApiKey
Source§fn clone(&self) -> OrganizationApiKey
fn clone(&self) -> OrganizationApiKey
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 OrganizationApiKey
impl Debug for OrganizationApiKey
Source§impl<'de> Deserialize<'de> for OrganizationApiKey
impl<'de> Deserialize<'de> for OrganizationApiKey
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 OrganizationApiKey
impl RefUnwindSafe for OrganizationApiKey
impl Send for OrganizationApiKey
impl Sync for OrganizationApiKey
impl Unpin for OrganizationApiKey
impl UnsafeUnpin for OrganizationApiKey
impl UnwindSafe for OrganizationApiKey
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