pub struct SiweAuthenticateRequestBody {
pub chain_id: Option<SiweAuthenticateRequestBodyChainId>,
pub connector_type: Option<SiweAuthenticateRequestBodyConnectorType>,
pub message: String,
pub mode: Option<SiweAuthenticateRequestBodyMode>,
pub signature: String,
pub wallet_client_type: Option<SiweAuthenticateRequestBodyWalletClientType>,
}Expand description
The request body for authenticating a SIWE ceremony.
JSON schema
{
"title": "SiweAuthenticateRequestBody",
"description": "The request body for authenticating 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"
},
"mode": {
"type": "string",
"enum": [
"login-or-sign-up",
"no-signup"
]
},
"signature": {
"type": "string"
},
"walletClientType": {
"type": [
"string",
"null"
],
"maxLength": 64
}
}
}Fields§
§chain_id: Option<SiweAuthenticateRequestBodyChainId>§connector_type: Option<SiweAuthenticateRequestBodyConnectorType>§message: String§mode: Option<SiweAuthenticateRequestBodyMode>§signature: String§wallet_client_type: Option<SiweAuthenticateRequestBodyWalletClientType>Trait Implementations§
Source§impl Clone for SiweAuthenticateRequestBody
impl Clone for SiweAuthenticateRequestBody
Source§fn clone(&self) -> SiweAuthenticateRequestBody
fn clone(&self) -> SiweAuthenticateRequestBody
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 SiweAuthenticateRequestBody
impl Debug for SiweAuthenticateRequestBody
Source§impl<'de> Deserialize<'de> for SiweAuthenticateRequestBody
impl<'de> Deserialize<'de> for SiweAuthenticateRequestBody
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<SiweAuthenticateRequestBody, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SiweAuthenticateRequestBody, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&SiweAuthenticateRequestBody> for SiweAuthenticateRequestBody
impl From<&SiweAuthenticateRequestBody> for SiweAuthenticateRequestBody
Source§fn from(value: &SiweAuthenticateRequestBody) -> SiweAuthenticateRequestBody
fn from(value: &SiweAuthenticateRequestBody) -> SiweAuthenticateRequestBody
Converts to this type from the input type.
Source§impl Serialize for SiweAuthenticateRequestBody
impl Serialize for SiweAuthenticateRequestBody
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 SiweAuthenticateRequestBody
impl RefUnwindSafe for SiweAuthenticateRequestBody
impl Send for SiweAuthenticateRequestBody
impl Sync for SiweAuthenticateRequestBody
impl Unpin for SiweAuthenticateRequestBody
impl UnwindSafe for SiweAuthenticateRequestBody
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