Struct email_format::rfc5322::types::DomainLiteral
source · [−]pub struct DomainLiteral {
pub pre_cfws: Option<CFWS>,
pub dtext: Vec<(bool, DText)>,
pub trailing_ws: bool,
pub post_cfws: Option<CFWS>,
}
Fields
pre_cfws: Option<CFWS>
dtext: Vec<(bool, DText)>
trailing_ws: bool
post_cfws: Option<CFWS>
Trait Implementations
sourceimpl Clone for DomainLiteral
impl Clone for DomainLiteral
sourcefn clone(&self) -> DomainLiteral
fn clone(&self) -> DomainLiteral
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for DomainLiteral
impl Debug for DomainLiteral
sourceimpl Display for DomainLiteral
impl Display for DomainLiteral
sourceimpl Parsable for DomainLiteral
impl Parsable for DomainLiteral
sourceimpl PartialEq<DomainLiteral> for DomainLiteral
impl PartialEq<DomainLiteral> for DomainLiteral
sourcefn eq(&self, other: &DomainLiteral) -> bool
fn eq(&self, other: &DomainLiteral) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DomainLiteral) -> bool
fn ne(&self, other: &DomainLiteral) -> bool
This method tests for !=
.
sourceimpl Streamable for DomainLiteral
impl Streamable for DomainLiteral
impl StructuralPartialEq for DomainLiteral
Auto Trait Implementations
impl RefUnwindSafe for DomainLiteral
impl Send for DomainLiteral
impl Sync for DomainLiteral
impl Unpin for DomainLiteral
impl UnwindSafe for DomainLiteral
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more