Struct emailmessage::Mailboxes
source · pub struct Mailboxes(_);
Expand description
List or email mailboxes
This type contains a sequence of mailboxes (Some Name <user@domain.tld>, Another Name <other@domain.tld>, withoutname@domain.tld, …).
NOTE: Enable feature “serde” to be able serialize/deserialize it using serde.
Implementations
Trait Implementations
sourceimpl Extend<Mailbox> for Mailboxes
impl Extend<Mailbox> for Mailboxes
sourcefn extend<T: IntoIterator<Item = Mailbox>>(&mut self, iter: T)
fn extend<T: IntoIterator<Item = Mailbox>>(&mut self, iter: T)
Extends a collection with the contents of an iterator. Read more
sourcefn extend_one(&mut self, item: A)
fn extend_one(&mut self, item: A)
🔬This is a nightly-only experimental API. (
extend_one
)Extends a collection with exactly one element.
sourcefn extend_reserve(&mut self, additional: usize)
fn extend_reserve(&mut self, additional: usize)
🔬This is a nightly-only experimental API. (
extend_one
)Reserves capacity in a collection for the given number of additional elements. Read more
sourceimpl IntoIterator for Mailboxes
impl IntoIterator for Mailboxes
sourceimpl Ord for Mailboxes
impl Ord for Mailboxes
1.21.0 · sourcefn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialOrd<Mailboxes> for Mailboxes
impl PartialOrd<Mailboxes> for Mailboxes
sourcefn partial_cmp(&self, other: &Mailboxes) -> Option<Ordering>
fn partial_cmp(&self, other: &Mailboxes) -> Option<Ordering>
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for Mailboxes
impl StructuralEq for Mailboxes
impl StructuralPartialEq for Mailboxes
Auto Trait Implementations
impl RefUnwindSafe for Mailboxes
impl Send for Mailboxes
impl Sync for Mailboxes
impl Unpin for Mailboxes
impl UnwindSafe for Mailboxes
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.