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