pub struct SiwsInput {
pub connector_type: Option<SiwsInputConnectorType>,
pub message: String,
pub message_type: Option<SiwsInputMessageType>,
pub signature: String,
pub wallet_client_type: Option<SiwsInputWalletClientType>,
}Expand description
Input for a SIWS signing ceremony.
JSON schema
{
"title": "SiwsInput",
"description": "Input for a SIWS signing ceremony.",
"type": "object",
"required": [
"message",
"signature"
],
"properties": {
"connectorType": {
"type": "string",
"maxLength": 64
},
"message": {
"type": "string"
},
"message_type": {
"type": "string",
"enum": [
"plain",
"transaction"
]
},
"signature": {
"type": "string"
},
"walletClientType": {
"type": "string",
"maxLength": 64
}
},
"x-stainless-model": "client_auth.siws_input"
}Fields§
§connector_type: Option<SiwsInputConnectorType>§message: String§message_type: Option<SiwsInputMessageType>§signature: String§wallet_client_type: Option<SiwsInputWalletClientType>Trait Implementations§
Source§impl<'de> Deserialize<'de> for SiwsInput
impl<'de> Deserialize<'de> for SiwsInput
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 SiwsInput
impl RefUnwindSafe for SiwsInput
impl Send for SiwsInput
impl Sync for SiwsInput
impl Unpin for SiwsInput
impl UnsafeUnpin for SiwsInput
impl UnwindSafe for SiwsInput
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