pub struct SiwsInitInput {
pub address: String,
pub token: Option<String>,
}Expand description
Input for initiating a SIWS ceremony.
JSON schema
{
"title": "SiwsInitInput",
"description": "Input for initiating a SIWS ceremony.",
"type": "object",
"required": [
"address"
],
"properties": {
"address": {
"type": "string"
},
"token": {
"type": "string"
}
},
"x-stainless-model": "client_auth.siws_init_input"
}Fields§
§address: String§token: Option<String>Trait Implementations§
Source§impl Clone for SiwsInitInput
impl Clone for SiwsInitInput
Source§fn clone(&self) -> SiwsInitInput
fn clone(&self) -> SiwsInitInput
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SiwsInitInput
impl Debug for SiwsInitInput
Source§impl<'de> Deserialize<'de> for SiwsInitInput
impl<'de> Deserialize<'de> for SiwsInitInput
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<&SiwsInitInput> for SiwsInitInput
impl From<&SiwsInitInput> for SiwsInitInput
Source§fn from(value: &SiwsInitInput) -> Self
fn from(value: &SiwsInitInput) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SiwsInitInput
impl RefUnwindSafe for SiwsInitInput
impl Send for SiwsInitInput
impl Sync for SiwsInitInput
impl Unpin for SiwsInitInput
impl UnsafeUnpin for SiwsInitInput
impl UnwindSafe for SiwsInitInput
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