Struct validators::email::Email [−][src]
pub struct Email { /* fields omitted */ }
Methods
impl Email
[src]
impl Email
pub fn get_local(&self) -> &str
[src]
pub fn get_local(&self) -> &str
pub fn get_domain(&self) -> &Domain
[src]
pub fn get_domain(&self) -> &Domain
pub fn get_full_email(&self) -> &str
[src]
pub fn get_full_email(&self) -> &str
impl Email
[src]
impl Email
pub fn from_string(full_email: String) -> Result<Self, EmailError>
[src]
pub fn from_string(full_email: String) -> Result<Self, EmailError>
pub fn from_str(full_email: &str) -> Result<Self, EmailError>
[src]
pub fn from_str(full_email: &str) -> Result<Self, EmailError>
Trait Implementations
impl Clone for Email
[src]
impl Clone for Email
fn clone(&self) -> Email
[src]
fn clone(&self) -> Email
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Validated for Email
[src]
impl Validated for Email
impl Debug for Email
[src]
impl Debug for Email
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Display for Email
[src]
impl Display for Email
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for Email
[src]
impl PartialEq for Email
fn eq(&self, other: &Self) -> bool
[src]
fn eq(&self, other: &Self) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Self) -> bool
[src]
fn ne(&self, other: &Self) -> bool
This method tests for !=
.
impl ValidatedWrapper for Email
[src]
impl ValidatedWrapper for Email