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