pub struct SiwsInitResponseBody {
pub address: String,
pub expires_at: String,
pub nonce: String,
}Expand description
The response body for initiating a SIWS ceremony.
JSON schema
{
"title": "SiwsInitResponseBody",
"description": "The response body for initiating a SIWS ceremony.",
"type": "object",
"required": [
"address",
"expires_at",
"nonce"
],
"properties": {
"address": {
"type": "string"
},
"expires_at": {
"type": "string"
},
"nonce": {
"type": "string"
}
}
}Fields§
§address: String§expires_at: String§nonce: StringTrait Implementations§
Source§impl Clone for SiwsInitResponseBody
impl Clone for SiwsInitResponseBody
Source§fn clone(&self) -> SiwsInitResponseBody
fn clone(&self) -> SiwsInitResponseBody
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 SiwsInitResponseBody
impl Debug for SiwsInitResponseBody
Source§impl<'de> Deserialize<'de> for SiwsInitResponseBody
impl<'de> Deserialize<'de> for SiwsInitResponseBody
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<SiwsInitResponseBody, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SiwsInitResponseBody, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&SiwsInitResponseBody> for SiwsInitResponseBody
impl From<&SiwsInitResponseBody> for SiwsInitResponseBody
Source§fn from(value: &SiwsInitResponseBody) -> SiwsInitResponseBody
fn from(value: &SiwsInitResponseBody) -> SiwsInitResponseBody
Converts to this type from the input type.
Source§impl Serialize for SiwsInitResponseBody
impl Serialize for SiwsInitResponseBody
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 SiwsInitResponseBody
impl RefUnwindSafe for SiwsInitResponseBody
impl Send for SiwsInitResponseBody
impl Sync for SiwsInitResponseBody
impl Unpin for SiwsInitResponseBody
impl UnwindSafe for SiwsInitResponseBody
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