pub struct AdminApiKeyOwner {
pub kind: String,
pub object: String,
pub id: String,
pub name: String,
pub created_at: u64,
pub role: String,
}Available on crate feature
administration-types only.Expand description
Represents the owner of an admin API key.
Fields§
§kind: String§object: String§id: StringThe identifier, which can be referenced in API endpoints.
name: StringThe name of the owner.
created_at: u64The Unix timestamp (in seconds) of when the owner was created.
role: StringTrait Implementations§
Source§impl Clone for AdminApiKeyOwner
impl Clone for AdminApiKeyOwner
Source§fn clone(&self) -> AdminApiKeyOwner
fn clone(&self) -> AdminApiKeyOwner
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AdminApiKeyOwner
impl Debug for AdminApiKeyOwner
Source§impl<'de> Deserialize<'de> for AdminApiKeyOwner
impl<'de> Deserialize<'de> for AdminApiKeyOwner
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
Source§impl PartialEq for AdminApiKeyOwner
impl PartialEq for AdminApiKeyOwner
Source§impl Serialize for AdminApiKeyOwner
impl Serialize for AdminApiKeyOwner
impl StructuralPartialEq for AdminApiKeyOwner
Auto Trait Implementations§
impl Freeze for AdminApiKeyOwner
impl RefUnwindSafe for AdminApiKeyOwner
impl Send for AdminApiKeyOwner
impl Sync for AdminApiKeyOwner
impl Unpin for AdminApiKeyOwner
impl UnsafeUnpin for AdminApiKeyOwner
impl UnwindSafe for AdminApiKeyOwner
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