pub struct AuthenticateSiwsInput {
pub connector_type: Option<AuthenticateSiwsInputConnectorType>,
pub message: String,
pub message_type: Option<AuthenticateSiwsInputMessageType>,
pub mode: Option<AuthenticateModeOption>,
pub signature: String,
pub wallet_client_type: Option<AuthenticateSiwsInputWalletClientType>,
}Expand description
Input for authenticating a SIWS ceremony.
JSON schema
{
"title": "AuthenticateSiwsInput",
"description": "Input for authenticating a SIWS ceremony.",
"type": "object",
"required": [
"message",
"signature"
],
"properties": {
"connectorType": {
"type": "string",
"maxLength": 64
},
"message": {
"type": "string"
},
"message_type": {
"type": "string",
"enum": [
"plain",
"transaction"
]
},
"mode": {
"$ref": "#/components/schemas/AuthenticateModeOption"
},
"signature": {
"type": "string"
},
"walletClientType": {
"type": "string",
"maxLength": 64
}
},
"x-stainless-model": "client_auth.authenticate_siws_input"
}Fields§
§connector_type: Option<AuthenticateSiwsInputConnectorType>§message: String§message_type: Option<AuthenticateSiwsInputMessageType>§mode: Option<AuthenticateModeOption>§signature: String§wallet_client_type: Option<AuthenticateSiwsInputWalletClientType>Trait Implementations§
Source§impl Clone for AuthenticateSiwsInput
impl Clone for AuthenticateSiwsInput
Source§fn clone(&self) -> AuthenticateSiwsInput
fn clone(&self) -> AuthenticateSiwsInput
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 AuthenticateSiwsInput
impl Debug for AuthenticateSiwsInput
Source§impl<'de> Deserialize<'de> for AuthenticateSiwsInput
impl<'de> Deserialize<'de> for AuthenticateSiwsInput
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<AuthenticateSiwsInput, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<AuthenticateSiwsInput, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&AuthenticateSiwsInput> for AuthenticateSiwsInput
impl From<&AuthenticateSiwsInput> for AuthenticateSiwsInput
Source§fn from(value: &AuthenticateSiwsInput) -> AuthenticateSiwsInput
fn from(value: &AuthenticateSiwsInput) -> AuthenticateSiwsInput
Converts to this type from the input type.
Source§impl Serialize for AuthenticateSiwsInput
impl Serialize for AuthenticateSiwsInput
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 AuthenticateSiwsInput
impl RefUnwindSafe for AuthenticateSiwsInput
impl Send for AuthenticateSiwsInput
impl Sync for AuthenticateSiwsInput
impl Unpin for AuthenticateSiwsInput
impl UnsafeUnpin for AuthenticateSiwsInput
impl UnwindSafe for AuthenticateSiwsInput
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