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: StringThe object type, which is always organization.project.api_key
redacted_value: StringThe redacted value of the API key
name: StringThe name of the API key
created_at: i64The Unix timestamp (in seconds) of when the API key was created
last_used_at: i64The Unix timestamp (in seconds) of when the API key was last used.
id: StringThe identifier, which can be referenced in API endpoints
owner: ProjectApiKey_OwnerTrait 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