pub struct SiweLinkRequestBody {
pub chain_id: Option<SiweLinkRequestBodyChainId>,
pub connector_type: Option<SiweLinkRequestBodyConnectorType>,
pub message: String,
pub signature: String,
pub wallet_client_type: Option<SiweLinkRequestBodyWalletClientType>,
}Expand description
The request body for linking a SIWE ceremony.
JSON schema
{
"title": "SiweLinkRequestBody",
"description": "The request body for linking a SIWE ceremony.",
"type": "object",
"required": [
"chainId",
"connectorType",
"message",
"signature",
"walletClientType"
],
"properties": {
"chainId": {
"type": [
"string",
"null"
],
"maxLength": 41
},
"connectorType": {
"type": [
"string",
"null"
],
"maxLength": 64
},
"message": {
"type": "string"
},
"signature": {
"type": "string"
},
"walletClientType": {
"type": [
"string",
"null"
],
"maxLength": 64
}
}
}Fields§
§chain_id: Option<SiweLinkRequestBodyChainId>§connector_type: Option<SiweLinkRequestBodyConnectorType>§message: String§signature: String§wallet_client_type: Option<SiweLinkRequestBodyWalletClientType>Trait Implementations§
Source§impl Clone for SiweLinkRequestBody
impl Clone for SiweLinkRequestBody
Source§fn clone(&self) -> SiweLinkRequestBody
fn clone(&self) -> SiweLinkRequestBody
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 Debug for SiweLinkRequestBody
impl Debug for SiweLinkRequestBody
Source§impl<'de> Deserialize<'de> for SiweLinkRequestBody
impl<'de> Deserialize<'de> for SiweLinkRequestBody
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<SiweLinkRequestBody, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SiweLinkRequestBody, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&SiweLinkRequestBody> for SiweLinkRequestBody
impl From<&SiweLinkRequestBody> for SiweLinkRequestBody
Source§fn from(value: &SiweLinkRequestBody) -> SiweLinkRequestBody
fn from(value: &SiweLinkRequestBody) -> SiweLinkRequestBody
Converts to this type from the input type.
Source§impl Serialize for SiweLinkRequestBody
impl Serialize for SiweLinkRequestBody
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 SiweLinkRequestBody
impl RefUnwindSafe for SiweLinkRequestBody
impl Send for SiweLinkRequestBody
impl Sync for SiweLinkRequestBody
impl Unpin for SiweLinkRequestBody
impl UnwindSafe for SiweLinkRequestBody
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