pub struct CreatedApiKey {
pub key: String,
pub id: String,
pub name: String,
pub type: String,
}Expand description
Created API key response for POST /api/v1/keys.
Fields§
§key: StringPlaintext API key value (returned only at creation time).
id: StringKey identifier.
name: StringKey display name.
type: StringKey type (standard or platform).
Trait Implementations§
Source§impl Clone for CreatedApiKey
impl Clone for CreatedApiKey
Source§fn clone(&self) -> CreatedApiKey
fn clone(&self) -> CreatedApiKey
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 CreatedApiKey
impl Debug for CreatedApiKey
Source§impl<'de> Deserialize<'de> for CreatedApiKey
impl<'de> Deserialize<'de> for CreatedApiKey
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 CreatedApiKey
impl RefUnwindSafe for CreatedApiKey
impl Send for CreatedApiKey
impl Sync for CreatedApiKey
impl Unpin for CreatedApiKey
impl UnsafeUnpin for CreatedApiKey
impl UnwindSafe for CreatedApiKey
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