pub struct EmailError {
pub email: Option<String>,
pub error: Option<String>,
pub token: Option<String>,
}Fields§
§email: Option<String>§error: Option<String>§token: Option<String>Implementations§
Source§impl EmailError
impl EmailError
pub fn new() -> EmailError
Trait Implementations§
Source§impl Clone for EmailError
impl Clone for EmailError
Source§fn clone(&self) -> EmailError
fn clone(&self) -> EmailError
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 EmailError
impl Debug for EmailError
Source§impl Default for EmailError
impl Default for EmailError
Source§fn default() -> EmailError
fn default() -> EmailError
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EmailError
impl<'de> Deserialize<'de> for EmailError
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 EmailError
impl PartialEq for EmailError
Source§fn eq(&self, other: &EmailError) -> bool
fn eq(&self, other: &EmailError) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for EmailError
impl Serialize for EmailError
impl StructuralPartialEq for EmailError
Auto Trait Implementations§
impl Freeze for EmailError
impl RefUnwindSafe for EmailError
impl Send for EmailError
impl Sync for EmailError
impl Unpin for EmailError
impl UnsafeUnpin for EmailError
impl UnwindSafe for EmailError
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