pub struct EmailNotification {
pub id: MessageId,
pub mailbox_address: Option<EmailAddress>,
pub from_addr: Option<String>,
pub subject: String,
pub preview: Option<String>,
pub has_attachments: bool,
pub received_at: Option<String>,
pub attributes: Vec<EmailAttribute>,
}Fields§
§id: MessageId§mailbox_address: Option<EmailAddress>§from_addr: Option<String>§subject: String§preview: Option<String>§has_attachments: bool§received_at: Option<String>§attributes: Vec<EmailAttribute>Trait Implementations§
Source§impl Clone for EmailNotification
impl Clone for EmailNotification
Source§fn clone(&self) -> EmailNotification
fn clone(&self) -> EmailNotification
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 EmailNotification
impl Debug for EmailNotification
Source§impl<'de> Deserialize<'de> for EmailNotification
impl<'de> Deserialize<'de> for EmailNotification
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for EmailNotification
Source§impl PartialEq for EmailNotification
impl PartialEq for EmailNotification
Source§fn eq(&self, other: &EmailNotification) -> bool
fn eq(&self, other: &EmailNotification) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for EmailNotification
impl Serialize for EmailNotification
impl StructuralPartialEq for EmailNotification
Auto Trait Implementations§
impl Freeze for EmailNotification
impl RefUnwindSafe for EmailNotification
impl Send for EmailNotification
impl Sync for EmailNotification
impl Unpin for EmailNotification
impl UnsafeUnpin for EmailNotification
impl UnwindSafe for EmailNotification
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.