pub struct ApiKeyInfo {
pub api_key: String,
pub object: String,
pub organization_id: Option<String>,
pub created_at: Option<i64>,
pub last_used_at: Option<i64>,
pub expires_at: Option<i64>,
}Expand description
API-key introspection response.
Fields§
§api_key: StringThe masked API key as returned by the service.
object: StringOptional object type.
organization_id: Option<String>Optional organization identifier.
created_at: Option<i64>Optional creation timestamp.
last_used_at: Option<i64>Optional last-used timestamp.
expires_at: Option<i64>Optional expiration timestamp.
Trait Implementations§
Source§impl Clone for ApiKeyInfo
impl Clone for ApiKeyInfo
Source§fn clone(&self) -> ApiKeyInfo
fn clone(&self) -> ApiKeyInfo
Returns a duplicate 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 moreSource§impl Debug for ApiKeyInfo
impl Debug for ApiKeyInfo
Source§impl<'de> Deserialize<'de> for ApiKeyInfo
impl<'de> Deserialize<'de> for ApiKeyInfo
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 ApiKeyInfo
impl RefUnwindSafe for ApiKeyInfo
impl Send for ApiKeyInfo
impl Sync for ApiKeyInfo
impl Unpin for ApiKeyInfo
impl UnsafeUnpin for ApiKeyInfo
impl UnwindSafe for ApiKeyInfo
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