[−][src]Struct lettre::Mailboxes
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
impl Mailboxes
[src]
pub fn new() -> Self
[src]
Create mailboxes list
pub fn with(self, mbox: Mailbox) -> Self
[src]
Add mailbox to a list
pub fn push(&mut self, mbox: Mailbox)
[src]
Add mailbox to a list
pub fn into_single(self) -> Option<Mailbox>
[src]
Extract first mailbox
pub fn iter(&self) -> Iter<Mailbox>
[src]
Iterate over mailboxes
Trait Implementations
impl Clone for Mailboxes
[src]
impl Debug for Mailboxes
[src]
impl Default for Mailboxes
[src]
impl<'de> Deserialize<'de> for Mailboxes
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
impl Display for Mailboxes
[src]
impl Eq for Mailboxes
[src]
impl Extend<Mailbox> for Mailboxes
[src]
fn extend<T: IntoIterator<Item = Mailbox>>(&mut self, iter: T)
[src]
fn extend_one(&mut self, item: A)
[src]
fn extend_reserve(&mut self, additional: usize)
[src]
impl From<Mailbox> for Mailboxes
[src]
impl From<Vec<Mailbox>> for Mailboxes
[src]
impl FromStr for Mailboxes
[src]
type Err = AddressError
The associated error which can be returned from parsing.
fn from_str(src: &str) -> Result<Self, Self::Err>
[src]
impl Hash for Mailboxes
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Into<Option<Mailbox>> for Mailboxes
[src]
impl Into<Vec<Mailbox>> for Mailboxes
[src]
impl IntoIterator for Mailboxes
[src]
type Item = Mailbox
The type of the elements being iterated over.
type IntoIter = IntoIter<Mailbox>
Which kind of iterator are we turning this into?
fn into_iter(self) -> Self::IntoIter
[src]
impl Ord for Mailboxes
[src]
fn cmp(&self, other: &Mailboxes) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<Mailboxes> for Mailboxes
[src]
impl PartialOrd<Mailboxes> for Mailboxes
[src]
fn partial_cmp(&self, other: &Mailboxes) -> Option<Ordering>
[src]
fn lt(&self, other: &Mailboxes) -> bool
[src]
fn le(&self, other: &Mailboxes) -> bool
[src]
fn gt(&self, other: &Mailboxes) -> bool
[src]
fn ge(&self, other: &Mailboxes) -> bool
[src]
impl Serialize for Mailboxes
[src]
impl StructuralEq for Mailboxes
[src]
impl StructuralPartialEq for Mailboxes
[src]
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
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<I> IntoIterator for I where
I: Iterator,
[src]
I: Iterator,
type Item = <I as Iterator>::Item
The type of the elements being iterated over.
type IntoIter = I
Which kind of iterator are we turning this into?
fn into_iter(self) -> I
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,