pub struct SmartWalletSiweInput {
pub message: String,
pub signature: String,
pub smart_wallet_type: SmartWalletType,
pub smart_wallet_version: Option<String>,
}Expand description
Input for a smart wallet SIWE signing ceremony.
JSON schema
{
"title": "SmartWalletSiweInput",
"description": "Input for a smart wallet SIWE signing ceremony.",
"type": "object",
"required": [
"message",
"signature",
"smart_wallet_type"
],
"properties": {
"message": {
"type": "string"
},
"signature": {
"type": "string"
},
"smart_wallet_type": {
"$ref": "#/components/schemas/SmartWalletType"
},
"smart_wallet_version": {
"type": "string"
}
},
"x-stainless-model": "client_auth.smart_wallet_siwe_input"
}Fields§
§message: String§signature: String§smart_wallet_type: SmartWalletType§smart_wallet_version: Option<String>Trait Implementations§
Source§impl Clone for SmartWalletSiweInput
impl Clone for SmartWalletSiweInput
Source§fn clone(&self) -> SmartWalletSiweInput
fn clone(&self) -> SmartWalletSiweInput
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 SmartWalletSiweInput
impl Debug for SmartWalletSiweInput
Source§impl<'de> Deserialize<'de> for SmartWalletSiweInput
impl<'de> Deserialize<'de> for SmartWalletSiweInput
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<&SmartWalletSiweInput> for SmartWalletSiweInput
impl From<&SmartWalletSiweInput> for SmartWalletSiweInput
Source§fn from(value: &SmartWalletSiweInput) -> Self
fn from(value: &SmartWalletSiweInput) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SmartWalletSiweInput
impl RefUnwindSafe for SmartWalletSiweInput
impl Send for SmartWalletSiweInput
impl Sync for SmartWalletSiweInput
impl Unpin for SmartWalletSiweInput
impl UnsafeUnpin for SmartWalletSiweInput
impl UnwindSafe for SmartWalletSiweInput
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