pub struct Email {Show 14 fields
pub id: String,
pub from_address: String,
pub to_addresses: Vec<String>,
pub subject: Option<String>,
pub status: String,
pub source: Option<String>,
pub opened_count: Option<u64>,
pub clicked_count: Option<u64>,
pub tags: Option<Vec<String>>,
pub scheduled_at: Option<String>,
pub created_at: Option<String>,
pub sent_at: Option<String>,
pub delivered_at: Option<String>,
pub retry_of_id: Option<String>,
}Expand description
A stored email and its current status.
Fields§
§id: StringMessage id.
from_address: StringSender address.
to_addresses: Vec<String>Recipient addresses.
subject: Option<String>Subject line.
status: StringCurrent status.
source: Option<String>Where the message originated (e.g. api).
opened_count: Option<u64>Number of opens.
clicked_count: Option<u64>Number of clicks.
Tags.
scheduled_at: Option<String>Scheduled send time, if any.
created_at: Option<String>Creation time.
sent_at: Option<String>Send time, if sent.
delivered_at: Option<String>Delivery time, if delivered.
retry_of_id: Option<String>Id of the original message this is a retry of, if any.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Email
impl<'de> Deserialize<'de> for Email
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
Auto Trait Implementations§
impl Freeze for Email
impl RefUnwindSafe for Email
impl Send for Email
impl Sync for Email
impl Unpin for Email
impl UnsafeUnpin for Email
impl UnwindSafe for Email
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