pub struct AuthenticateSiweInput {
pub chain_id: Option<AuthenticateSiweInputChainId>,
pub connector_type: Option<AuthenticateSiweInputConnectorType>,
pub message: String,
pub mode: Option<AuthenticateModeOption>,
pub signature: String,
pub wallet_client_type: Option<AuthenticateSiweInputWalletClientType>,
}Expand description
Input for authenticating a SIWE ceremony.
JSON schema
{
"title": "AuthenticateSiweInput",
"description": "Input for authenticating a SIWE ceremony.",
"type": "object",
"required": [
"message",
"signature"
],
"properties": {
"chainId": {
"type": "string",
"maxLength": 41
},
"connectorType": {
"type": "string",
"maxLength": 64
},
"message": {
"type": "string"
},
"mode": {
"$ref": "#/components/schemas/AuthenticateModeOption"
},
"signature": {
"type": "string"
},
"walletClientType": {
"type": "string",
"maxLength": 64
}
},
"x-stainless-model": "client_auth.authenticate_siwe_input"
}Fields§
§chain_id: Option<AuthenticateSiweInputChainId>§connector_type: Option<AuthenticateSiweInputConnectorType>§message: String§mode: Option<AuthenticateModeOption>§signature: String§wallet_client_type: Option<AuthenticateSiweInputWalletClientType>Trait Implementations§
Source§impl Clone for AuthenticateSiweInput
impl Clone for AuthenticateSiweInput
Source§fn clone(&self) -> AuthenticateSiweInput
fn clone(&self) -> AuthenticateSiweInput
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 AuthenticateSiweInput
impl Debug for AuthenticateSiweInput
Source§impl<'de> Deserialize<'de> for AuthenticateSiweInput
impl<'de> Deserialize<'de> for AuthenticateSiweInput
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<&AuthenticateSiweInput> for AuthenticateSiweInput
impl From<&AuthenticateSiweInput> for AuthenticateSiweInput
Source§fn from(value: &AuthenticateSiweInput) -> Self
fn from(value: &AuthenticateSiweInput) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AuthenticateSiweInput
impl RefUnwindSafe for AuthenticateSiweInput
impl Send for AuthenticateSiweInput
impl Sync for AuthenticateSiweInput
impl Unpin for AuthenticateSiweInput
impl UnsafeUnpin for AuthenticateSiweInput
impl UnwindSafe for AuthenticateSiweInput
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