pub struct CreateApiKeyResponse {
pub api_key: Option<ApiKey>,
pub key: String,
}Expand description
Response from creating an API key.
Fields§
§api_key: Option<ApiKey>The created API key.
key: StringThe full API key value (only shown once).
Trait Implementations§
Source§impl Clone for CreateApiKeyResponse
impl Clone for CreateApiKeyResponse
Source§fn clone(&self) -> CreateApiKeyResponse
fn clone(&self) -> CreateApiKeyResponse
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 CreateApiKeyResponse
impl Debug for CreateApiKeyResponse
Source§impl<'de> Deserialize<'de> for CreateApiKeyResponse
impl<'de> Deserialize<'de> for CreateApiKeyResponse
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 CreateApiKeyResponse
impl RefUnwindSafe for CreateApiKeyResponse
impl Send for CreateApiKeyResponse
impl Sync for CreateApiKeyResponse
impl Unpin for CreateApiKeyResponse
impl UnsafeUnpin for CreateApiKeyResponse
impl UnwindSafe for CreateApiKeyResponse
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