pub struct SiweInitResponseBody {
pub address: String,
pub expires_at: String,
pub nonce: String,
}Expand description
The response body for initiating a SIWE ceremony.
JSON schema
{
"title": "SiweInitResponseBody",
"description": "The response body for initiating a SIWE 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 SiweInitResponseBody
impl Clone for SiweInitResponseBody
Source§fn clone(&self) -> SiweInitResponseBody
fn clone(&self) -> SiweInitResponseBody
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 SiweInitResponseBody
impl Debug for SiweInitResponseBody
Source§impl<'de> Deserialize<'de> for SiweInitResponseBody
impl<'de> Deserialize<'de> for SiweInitResponseBody
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
Source§impl From<&SiweInitResponseBody> for SiweInitResponseBody
impl From<&SiweInitResponseBody> for SiweInitResponseBody
Source§fn from(value: &SiweInitResponseBody) -> Self
fn from(value: &SiweInitResponseBody) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SiweInitResponseBody
impl RefUnwindSafe for SiweInitResponseBody
impl Send for SiweInitResponseBody
impl Sync for SiweInitResponseBody
impl Unpin for SiweInitResponseBody
impl UnsafeUnpin for SiweInitResponseBody
impl UnwindSafe for SiweInitResponseBody
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