pub struct AdminApiKey {
pub object: String,
pub id: String,
pub name: String,
pub redacted_value: String,
pub value: String,
pub created_at: i64,
pub last_used_at: Option<i64>,
pub owner: AdminApiKey_Owner,
}Expand description
Represents an individual Admin API key in an org.
Fields§
§object: StringThe object type, which is always organization.admin_api_key
id: StringThe identifier, which can be referenced in API endpoints
name: StringThe name of the API key
redacted_value: StringThe redacted value of the API key
value: StringThe value of the API key.
created_at: i64The Unix timestamp (in seconds) of when the API key was created
last_used_at: Option<i64>The Unix timestamp (in seconds) of when the API key was last used
owner: AdminApiKey_OwnerTrait Implementations§
Source§impl Clone for AdminApiKey
impl Clone for AdminApiKey
Source§fn clone(&self) -> AdminApiKey
fn clone(&self) -> AdminApiKey
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for AdminApiKey
impl RefUnwindSafe for AdminApiKey
impl Send for AdminApiKey
impl Sync for AdminApiKey
impl Unpin for AdminApiKey
impl UnwindSafe for AdminApiKey
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