pub struct SiweInput {
pub chain_id: Option<SiweInputChainId>,
pub connector_type: Option<SiweInputConnectorType>,
pub message: String,
pub signature: String,
pub wallet_client_type: Option<SiweInputWalletClientType>,
}Expand description
Input for a SIWE signing ceremony.
JSON schema
{
"title": "SiweInput",
"description": "Input for a SIWE signing ceremony.",
"type": "object",
"required": [
"message",
"signature"
],
"properties": {
"chainId": {
"type": "string",
"maxLength": 41
},
"connectorType": {
"type": "string",
"maxLength": 64
},
"message": {
"type": "string"
},
"signature": {
"type": "string"
},
"walletClientType": {
"type": "string",
"maxLength": 64
}
},
"x-stainless-model": "client_auth.siwe_input"
}Fields§
§chain_id: Option<SiweInputChainId>§connector_type: Option<SiweInputConnectorType>§message: String§signature: String§wallet_client_type: Option<SiweInputWalletClientType>Trait Implementations§
Source§impl<'de> Deserialize<'de> for SiweInput
impl<'de> Deserialize<'de> for SiweInput
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
Auto Trait Implementations§
impl Freeze for SiweInput
impl RefUnwindSafe for SiweInput
impl Send for SiweInput
impl Sync for SiweInput
impl Unpin for SiweInput
impl UnsafeUnpin for SiweInput
impl UnwindSafe for SiweInput
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