pub struct EncryptedAuthorizationKey {
pub ciphertext: String,
pub encapsulated_key: String,
pub encryption_type: EncryptedAuthorizationKeyEncryptionType,
}Expand description
HPKE-encrypted authorization key with encapsulated key and ciphertext.
JSON schema
{
"title": "EncryptedAuthorizationKey",
"description": "HPKE-encrypted authorization key with encapsulated key
and ciphertext.",
"type": "object",
"required": [
"ciphertext",
"encapsulated_key",
"encryption_type"
],
"properties": {
"ciphertext": {
"type": "string"
},
"encapsulated_key": {
"type": "string"
},
"encryption_type": {
"type": "string",
"enum": [
"HPKE"
]
}
},
"x-stainless-model": "wallets.encrypted_authorization_key"
}Fields§
§ciphertext: String§encapsulated_key: String§encryption_type: EncryptedAuthorizationKeyEncryptionTypeTrait Implementations§
Source§impl Clone for EncryptedAuthorizationKey
impl Clone for EncryptedAuthorizationKey
Source§fn clone(&self) -> EncryptedAuthorizationKey
fn clone(&self) -> EncryptedAuthorizationKey
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 EncryptedAuthorizationKey
impl Debug for EncryptedAuthorizationKey
Source§impl<'de> Deserialize<'de> for EncryptedAuthorizationKey
impl<'de> Deserialize<'de> for EncryptedAuthorizationKey
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<&EncryptedAuthorizationKey> for EncryptedAuthorizationKey
impl From<&EncryptedAuthorizationKey> for EncryptedAuthorizationKey
Source§fn from(value: &EncryptedAuthorizationKey) -> Self
fn from(value: &EncryptedAuthorizationKey) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for EncryptedAuthorizationKey
impl RefUnwindSafe for EncryptedAuthorizationKey
impl Send for EncryptedAuthorizationKey
impl Sync for EncryptedAuthorizationKey
impl Unpin for EncryptedAuthorizationKey
impl UnsafeUnpin for EncryptedAuthorizationKey
impl UnwindSafe for EncryptedAuthorizationKey
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