pub struct ApiKeyInfo {
pub id: String,
pub tenant: String,
pub name: String,
pub role: TenantRole,
pub prefix: String,
pub last_used_at: Option<String>,
}Expand description
A tenant API key as listed; the key itself is only returned when created.
Fields§
§id: String§tenant: String§name: String§role: TenantRole§prefix: String§last_used_at: Option<String>Trait Implementations§
Source§impl Clone for ApiKeyInfo
impl Clone for ApiKeyInfo
Source§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