Struct smtp_server::MailMetadata
source · [−]pub struct MailMetadata<U> {
pub user: U,
pub from: Option<Email<String>>,
pub to: Vec<Email<String>, Global>,
}
Fields
user: U
from: Option<Email<String>>
to: Vec<Email<String>, Global>
Trait Implementations
sourceimpl<U> Debug for MailMetadata<U> where
U: Debug,
impl<U> Debug for MailMetadata<U> where
U: Debug,
sourceimpl<'de, U> Deserialize<'de> for MailMetadata<U> where
U: Deserialize<'de>,
impl<'de, U> Deserialize<'de> for MailMetadata<U> where
U: Deserialize<'de>,
sourcefn deserialize<__D>(
__deserializer: __D
) -> Result<MailMetadata<U>, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<MailMetadata<U>, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl<U> Serialize for MailMetadata<U> where
U: Serialize,
impl<U> Serialize for MailMetadata<U> where
U: Serialize,
sourcefn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations
impl<U> RefUnwindSafe for MailMetadata<U> where
U: RefUnwindSafe,
impl<U> Send for MailMetadata<U> where
U: Send,
impl<U> Sync for MailMetadata<U> where
U: Sync,
impl<U> Unpin for MailMetadata<U> where
U: Unpin,
impl<U> UnwindSafe for MailMetadata<U> where
U: UnwindSafe,
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