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<SmartWalletSiweInput, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SmartWalletSiweInput, <__D as Deserializer<'de>>::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) -> SmartWalletSiweInput
fn from(value: &SmartWalletSiweInput) -> SmartWalletSiweInput
Converts to this type from the input type.
Source§impl Serialize for SmartWalletSiweInput
impl Serialize for SmartWalletSiweInput
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 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