pub struct AdminApiKey {
pub created_at: i64,
pub id: String,
pub last_used_at: i64,
pub name: String,
pub object: String,
pub owner: AdminApiKeyOwner,
pub redacted_value: String,
pub value: Option<String>,
}Fields§
§created_at: i64The Unix timestamp (in seconds) of when the API key was created
id: StringThe identifier, which can be referenced in API endpoints
last_used_at: i64The Unix timestamp (in seconds) of when the API key was last used
name: StringThe name of the API key
object: StringThe object type, which is always organization.admin_api_key
owner: AdminApiKeyOwner§redacted_value: StringThe redacted value of the API key
value: Option<String>The value of the API key. Only shown on create.
Trait Implementations§
Source§impl Debug for AdminApiKey
impl Debug for AdminApiKey
Source§impl<'de> Deserialize<'de> for AdminApiKey
impl<'de> Deserialize<'de> for AdminApiKey
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 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