pub struct CreateMagicCodeAndReturn {
pub email: String,
pub invitation_token: Option<SecretString>,
pub ip_address: Option<String>,
pub user_agent: Option<String>,
pub radar_auth_attempt_id: Option<String>,
pub signals_id: Option<String>,
}Fields§
§email: StringThe email address to send the magic code to.
invitation_token: Option<SecretString>The invitation token to associate with this magic code.
ip_address: Option<String>The IP address of the user’s request.
user_agent: Option<String>The user agent string from the user’s request.
radar_auth_attempt_id: Option<String>The ID of an existing Radar authentication attempt to associate with this request.
signals_id: Option<String>An optional Radar signals ID to correlate client-side signals with this request.
Trait Implementations§
Source§impl Clone for CreateMagicCodeAndReturn
impl Clone for CreateMagicCodeAndReturn
Source§fn clone(&self) -> CreateMagicCodeAndReturn
fn clone(&self) -> CreateMagicCodeAndReturn
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 CreateMagicCodeAndReturn
impl Debug for CreateMagicCodeAndReturn
Source§impl<'de> Deserialize<'de> for CreateMagicCodeAndReturn
impl<'de> Deserialize<'de> for CreateMagicCodeAndReturn
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 CreateMagicCodeAndReturn
impl RefUnwindSafe for CreateMagicCodeAndReturn
impl Send for CreateMagicCodeAndReturn
impl Sync for CreateMagicCodeAndReturn
impl Unpin for CreateMagicCodeAndReturn
impl UnsafeUnpin for CreateMagicCodeAndReturn
impl UnwindSafe for CreateMagicCodeAndReturn
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