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