pub struct ApiKeyCreateResponse {
pub api_key: String,
pub description: Option<String>,
pub id: String,
}Expand description
API key at creation time — full key shown once.
JSON schema
{
"title": "ApiKeyCreateResponse",
"description": "API key at creation time — full key shown once.",
"type": "object",
"required": [
"api_key",
"id"
],
"properties": {
"api_key": {
"title": "Api Key",
"type": "string"
},
"description": {
"title": "Description",
"type": [
"string",
"null"
]
},
"id": {
"title": "Id",
"type": "string"
}
}
}Fields§
§api_key: String§description: Option<String>§id: StringTrait Implementations§
Source§impl Clone for ApiKeyCreateResponse
impl Clone for ApiKeyCreateResponse
Source§fn clone(&self) -> ApiKeyCreateResponse
fn clone(&self) -> ApiKeyCreateResponse
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 ApiKeyCreateResponse
impl Debug for ApiKeyCreateResponse
Source§impl<'de> Deserialize<'de> for ApiKeyCreateResponse
impl<'de> Deserialize<'de> for ApiKeyCreateResponse
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 From<&ApiKeyCreateResponse> for ApiKeyCreateResponse
impl From<&ApiKeyCreateResponse> for ApiKeyCreateResponse
Source§fn from(value: &ApiKeyCreateResponse) -> Self
fn from(value: &ApiKeyCreateResponse) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ApiKeyCreateResponse
impl RefUnwindSafe for ApiKeyCreateResponse
impl Send for ApiKeyCreateResponse
impl Sync for ApiKeyCreateResponse
impl Unpin for ApiKeyCreateResponse
impl UnsafeUnpin for ApiKeyCreateResponse
impl UnwindSafe for ApiKeyCreateResponse
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