pub struct EmailAuthRequest {
pub email: String,
}
Expand description
EmailAuthRequest : Abstract class that returns a callback token based on the field given Returns a token if valid, None or a message if not.
Fields§
§email: String
Implementations§
Source§impl EmailAuthRequest
impl EmailAuthRequest
Sourcepub fn new(email: String) -> EmailAuthRequest
pub fn new(email: String) -> EmailAuthRequest
Abstract class that returns a callback token based on the field given Returns a token if valid, None or a message if not.
Trait Implementations§
Source§impl Clone for EmailAuthRequest
impl Clone for EmailAuthRequest
Source§fn clone(&self) -> EmailAuthRequest
fn clone(&self) -> EmailAuthRequest
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for EmailAuthRequest
impl Debug for EmailAuthRequest
Source§impl Default for EmailAuthRequest
impl Default for EmailAuthRequest
Source§fn default() -> EmailAuthRequest
fn default() -> EmailAuthRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EmailAuthRequest
impl<'de> Deserialize<'de> for EmailAuthRequest
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 EmailAuthRequest
impl PartialEq for EmailAuthRequest
Source§impl Serialize for EmailAuthRequest
impl Serialize for EmailAuthRequest
impl StructuralPartialEq for EmailAuthRequest
Auto Trait Implementations§
impl Freeze for EmailAuthRequest
impl RefUnwindSafe for EmailAuthRequest
impl Send for EmailAuthRequest
impl Sync for EmailAuthRequest
impl Unpin for EmailAuthRequest
impl UnwindSafe for EmailAuthRequest
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