pub struct SiwsLinkRequestBody {
pub connector_type: Option<SiwsLinkRequestBodyConnectorType>,
pub message: String,
pub message_type: Option<SiwsLinkRequestBodyMessageType>,
pub signature: String,
pub wallet_client_type: Option<SiwsLinkRequestBodyWalletClientType>,
}Expand description
The request body for linking a SIWS ceremony.
JSON schema
{
"title": "SiwsLinkRequestBody",
"description": "The request body for linking a SIWS ceremony.",
"type": "object",
"required": [
"connectorType",
"message",
"signature",
"walletClientType"
],
"properties": {
"connectorType": {
"type": [
"string",
"null"
],
"maxLength": 64
},
"message": {
"type": "string"
},
"message_type": {
"type": "string",
"enum": [
"plain",
"transaction"
]
},
"signature": {
"type": "string"
},
"walletClientType": {
"type": [
"string",
"null"
],
"maxLength": 64
}
}
}Fields§
§connector_type: Option<SiwsLinkRequestBodyConnectorType>§message: String§message_type: Option<SiwsLinkRequestBodyMessageType>§signature: String§wallet_client_type: Option<SiwsLinkRequestBodyWalletClientType>Trait Implementations§
Source§impl Clone for SiwsLinkRequestBody
impl Clone for SiwsLinkRequestBody
Source§fn clone(&self) -> SiwsLinkRequestBody
fn clone(&self) -> SiwsLinkRequestBody
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 SiwsLinkRequestBody
impl Debug for SiwsLinkRequestBody
Source§impl<'de> Deserialize<'de> for SiwsLinkRequestBody
impl<'de> Deserialize<'de> for SiwsLinkRequestBody
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<SiwsLinkRequestBody, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SiwsLinkRequestBody, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&SiwsLinkRequestBody> for SiwsLinkRequestBody
impl From<&SiwsLinkRequestBody> for SiwsLinkRequestBody
Source§fn from(value: &SiwsLinkRequestBody) -> SiwsLinkRequestBody
fn from(value: &SiwsLinkRequestBody) -> SiwsLinkRequestBody
Converts to this type from the input type.
Source§impl Serialize for SiwsLinkRequestBody
impl Serialize for SiwsLinkRequestBody
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 SiwsLinkRequestBody
impl RefUnwindSafe for SiwsLinkRequestBody
impl Send for SiwsLinkRequestBody
impl Sync for SiwsLinkRequestBody
impl Unpin for SiwsLinkRequestBody
impl UnwindSafe for SiwsLinkRequestBody
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