pub struct EmailSyntax {
pub domain: Option<String>,
pub username: Option<String>,
pub is_valid: bool,
pub error_reasons: Vec<String>,
}Fields§
§domain: Option<String>§username: Option<String>§is_valid: bool§error_reasons: Vec<String>Trait Implementations§
Source§impl Clone for EmailSyntax
impl Clone for EmailSyntax
Source§fn clone(&self) -> EmailSyntax
fn clone(&self) -> EmailSyntax
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 EmailSyntax
impl Debug for EmailSyntax
Source§impl<'de> Deserialize<'de> for EmailSyntax
impl<'de> Deserialize<'de> for EmailSyntax
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 EmailSyntax
impl RefUnwindSafe for EmailSyntax
impl Send for EmailSyntax
impl Sync for EmailSyntax
impl Unpin for EmailSyntax
impl UnsafeUnpin for EmailSyntax
impl UnwindSafe for EmailSyntax
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