pub struct WalletAuthenticateBoundEncryptedRequestBody {
pub bindings: Vec<UserSigningKeyBinding>,
pub encryption_type: WalletAuthenticateBoundEncryptedRequestBodyEncryptionType,
pub recipient_public_key: String,
pub user_jwt: String,
}Expand description
Request body for creating an encrypted, bound user signing key.
JSON schema
{
"title": "WalletAuthenticateBoundEncryptedRequestBody",
"description": "Request body for creating an encrypted, bound user
signing key.",
"type": "object",
"required": [
"bindings",
"encryption_type",
"recipient_public_key",
"user_jwt"
],
"properties": {
"bindings": {
"description": "Bindings that scope the USK. The key can only
authorize the bound values.",
"type": "array",
"items": {
"$ref": "#/components/schemas/UserSigningKeyBinding"
},
"maxItems": 10,
"minItems": 1
},
"encryption_type": {
"type": "string",
"enum": [
"HPKE"
]
},
"recipient_public_key": {
"type": "string"
},
"user_jwt": {
"type": "string"
}
},
"x-stainless-model":
"wallets.wallet_authenticate_bound_encrypted_request_body"
}Fields§
§bindings: Vec<UserSigningKeyBinding>Bindings that scope the USK. The key can only authorize the bound values.
encryption_type: WalletAuthenticateBoundEncryptedRequestBodyEncryptionType§recipient_public_key: String§user_jwt: StringTrait Implementations§
Source§impl Clone for WalletAuthenticateBoundEncryptedRequestBody
impl Clone for WalletAuthenticateBoundEncryptedRequestBody
Source§fn clone(&self) -> WalletAuthenticateBoundEncryptedRequestBody
fn clone(&self) -> WalletAuthenticateBoundEncryptedRequestBody
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<'de> Deserialize<'de> for WalletAuthenticateBoundEncryptedRequestBody
impl<'de> Deserialize<'de> for WalletAuthenticateBoundEncryptedRequestBody
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<&WalletAuthenticateBoundEncryptedRequestBody> for WalletAuthenticateBoundEncryptedRequestBody
impl From<&WalletAuthenticateBoundEncryptedRequestBody> for WalletAuthenticateBoundEncryptedRequestBody
Source§fn from(value: &WalletAuthenticateBoundEncryptedRequestBody) -> Self
fn from(value: &WalletAuthenticateBoundEncryptedRequestBody) -> Self
Converts to this type from the input type.
Source§impl From<WalletAuthenticateBoundEncryptedRequestBody> for WalletAuthenticateBoundRequestBody
impl From<WalletAuthenticateBoundEncryptedRequestBody> for WalletAuthenticateBoundRequestBody
Source§fn from(value: WalletAuthenticateBoundEncryptedRequestBody) -> Self
fn from(value: WalletAuthenticateBoundEncryptedRequestBody) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for WalletAuthenticateBoundEncryptedRequestBody
impl RefUnwindSafe for WalletAuthenticateBoundEncryptedRequestBody
impl Send for WalletAuthenticateBoundEncryptedRequestBody
impl Sync for WalletAuthenticateBoundEncryptedRequestBody
impl Unpin for WalletAuthenticateBoundEncryptedRequestBody
impl UnsafeUnpin for WalletAuthenticateBoundEncryptedRequestBody
impl UnwindSafe for WalletAuthenticateBoundEncryptedRequestBody
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