Struct mailparse::SingleInfo
source · pub struct SingleInfo {
pub display_name: Option<String>,
pub addr: String,
}
Expand description
A representation of a single mailbox. Each mailbox has
a routing address addr
and an optional display name.
Fields§
§display_name: Option<String>
§addr: String
Trait Implementations§
source§impl Clone for SingleInfo
impl Clone for SingleInfo
source§fn clone(&self) -> SingleInfo
fn clone(&self) -> SingleInfo
Returns a copy of the value. Read more
1.0.0 · 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 SingleInfo
impl Debug for SingleInfo
source§impl Display for SingleInfo
impl Display for SingleInfo
source§impl Hash for SingleInfo
impl Hash for SingleInfo
source§impl PartialEq for SingleInfo
impl PartialEq for SingleInfo
source§fn eq(&self, other: &SingleInfo) -> bool
fn eq(&self, other: &SingleInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for SingleInfo
impl StructuralEq for SingleInfo
impl StructuralPartialEq for SingleInfo
Auto Trait Implementations§
impl RefUnwindSafe for SingleInfo
impl Send for SingleInfo
impl Sync for SingleInfo
impl Unpin for SingleInfo
impl UnwindSafe for SingleInfo
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