pub struct LoginMagicLinkRequest {
pub identifier: String,
pub language: Option<String>,
pub magic_link_path: Option<String>,
}Fields§
§identifier: Stringvalid email or E164 phone number
language: Option<String>language of the email or SMS to send (optional)
magic_link_path: Option<String>path relative to the app’s auth_origin (optional)
Implementations§
Source§impl LoginMagicLinkRequest
impl LoginMagicLinkRequest
pub fn new(identifier: String) -> LoginMagicLinkRequest
Trait Implementations§
Source§impl Clone for LoginMagicLinkRequest
impl Clone for LoginMagicLinkRequest
Source§fn clone(&self) -> LoginMagicLinkRequest
fn clone(&self) -> LoginMagicLinkRequest
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 LoginMagicLinkRequest
impl Debug for LoginMagicLinkRequest
Source§impl Default for LoginMagicLinkRequest
impl Default for LoginMagicLinkRequest
Source§fn default() -> LoginMagicLinkRequest
fn default() -> LoginMagicLinkRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LoginMagicLinkRequest
impl<'de> Deserialize<'de> for LoginMagicLinkRequest
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 PartialEq for LoginMagicLinkRequest
impl PartialEq for LoginMagicLinkRequest
Source§impl Serialize for LoginMagicLinkRequest
impl Serialize for LoginMagicLinkRequest
impl StructuralPartialEq for LoginMagicLinkRequest
Auto Trait Implementations§
impl Freeze for LoginMagicLinkRequest
impl RefUnwindSafe for LoginMagicLinkRequest
impl Send for LoginMagicLinkRequest
impl Sync for LoginMagicLinkRequest
impl Unpin for LoginMagicLinkRequest
impl UnsafeUnpin for LoginMagicLinkRequest
impl UnwindSafe for LoginMagicLinkRequest
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