pub struct SiweLinkSmartWalletRequestBody {
pub message: String,
pub signature: String,
pub smart_wallet_type: SiweLinkSmartWalletRequestBodySmartWalletType,
pub smart_wallet_version: Option<String>,
}Expand description
The request body for linking a SIWE ceremony to a smart wallet.
JSON schema
{
"title": "SiweLinkSmartWalletRequestBody",
"description": "The request body for linking a SIWE ceremony to a smart
wallet.",
"type": "object",
"required": [
"message",
"signature",
"smart_wallet_type"
],
"properties": {
"message": {
"type": "string"
},
"signature": {
"type": "string"
},
"smart_wallet_type": {
"type": "string",
"enum": [
"biconomy",
"coinbase_smart_wallet",
"kernel",
"light_account",
"safe",
"thirdweb"
]
},
"smart_wallet_version": {
"type": "string"
}
}
}Fields§
§message: String§signature: String§smart_wallet_type: SiweLinkSmartWalletRequestBodySmartWalletType§smart_wallet_version: Option<String>Trait Implementations§
Source§impl Clone for SiweLinkSmartWalletRequestBody
impl Clone for SiweLinkSmartWalletRequestBody
Source§fn clone(&self) -> SiweLinkSmartWalletRequestBody
fn clone(&self) -> SiweLinkSmartWalletRequestBody
Returns a duplicate of the value. Read more
1.0.0 · 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 SiweLinkSmartWalletRequestBody
impl<'de> Deserialize<'de> for SiweLinkSmartWalletRequestBody
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<SiweLinkSmartWalletRequestBody, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SiweLinkSmartWalletRequestBody, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&SiweLinkSmartWalletRequestBody> for SiweLinkSmartWalletRequestBody
impl From<&SiweLinkSmartWalletRequestBody> for SiweLinkSmartWalletRequestBody
Source§fn from(
value: &SiweLinkSmartWalletRequestBody,
) -> SiweLinkSmartWalletRequestBody
fn from( value: &SiweLinkSmartWalletRequestBody, ) -> SiweLinkSmartWalletRequestBody
Converts to this type from the input type.
Source§impl Serialize for SiweLinkSmartWalletRequestBody
impl Serialize for SiweLinkSmartWalletRequestBody
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 SiweLinkSmartWalletRequestBody
impl RefUnwindSafe for SiweLinkSmartWalletRequestBody
impl Send for SiweLinkSmartWalletRequestBody
impl Sync for SiweLinkSmartWalletRequestBody
impl Unpin for SiweLinkSmartWalletRequestBody
impl UnwindSafe for SiweLinkSmartWalletRequestBody
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