pub struct AuthorizationKeyResponse {
pub created_at: f64,
pub display_name: Option<String>,
pub id: String,
pub public_key: String,
}Expand description
Public-facing response for a wallet authorization key.
JSON schema
{
"title": "AuthorizationKeyResponse",
"description": "Public-facing response for a wallet authorization
key.",
"type": "object",
"required": [
"created_at",
"id",
"public_key"
],
"properties": {
"created_at": {
"type": "number"
},
"display_name": {
"type": "string"
},
"id": {
"type": "string"
},
"public_key": {
"type": "string"
}
},
"x-stainless-model": "wallets.authorization_key_response"
}Fields§
§created_at: f64§display_name: Option<String>§id: String§public_key: StringTrait Implementations§
Source§impl Clone for AuthorizationKeyResponse
impl Clone for AuthorizationKeyResponse
Source§fn clone(&self) -> AuthorizationKeyResponse
fn clone(&self) -> AuthorizationKeyResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AuthorizationKeyResponse
impl Debug for AuthorizationKeyResponse
Source§impl<'de> Deserialize<'de> for AuthorizationKeyResponse
impl<'de> Deserialize<'de> for AuthorizationKeyResponse
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<AuthorizationKeyResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<AuthorizationKeyResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&AuthorizationKeyResponse> for AuthorizationKeyResponse
impl From<&AuthorizationKeyResponse> for AuthorizationKeyResponse
Source§fn from(value: &AuthorizationKeyResponse) -> AuthorizationKeyResponse
fn from(value: &AuthorizationKeyResponse) -> AuthorizationKeyResponse
Converts to this type from the input type.
Source§impl Serialize for AuthorizationKeyResponse
impl Serialize for AuthorizationKeyResponse
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for AuthorizationKeyResponse
impl RefUnwindSafe for AuthorizationKeyResponse
impl Send for AuthorizationKeyResponse
impl Sync for AuthorizationKeyResponse
impl Unpin for AuthorizationKeyResponse
impl UnsafeUnpin for AuthorizationKeyResponse
impl UnwindSafe for AuthorizationKeyResponse
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