pub struct EmailSearchHit {
pub id: String,
pub from_address: String,
pub to_addresses: Vec<String>,
pub subject: Option<String>,
pub status: String,
pub tags: Option<Vec<String>>,
pub source: Option<String>,
pub created_at: Option<String>,
pub delivered_at: Option<String>,
}Expand description
A search hit from the email search endpoint.
Fields§
§id: StringMessage id.
from_address: StringSender address.
to_addresses: Vec<String>Recipient addresses.
subject: Option<String>Subject line.
status: StringCurrent status.
Tags.
source: Option<String>Where the message originated.
created_at: Option<String>Creation time.
delivered_at: Option<String>Delivery time.
Trait Implementations§
Source§impl Clone for EmailSearchHit
impl Clone for EmailSearchHit
Source§fn clone(&self) -> EmailSearchHit
fn clone(&self) -> EmailSearchHit
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 EmailSearchHit
impl Debug for EmailSearchHit
Source§impl<'de> Deserialize<'de> for EmailSearchHit
impl<'de> Deserialize<'de> for EmailSearchHit
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 EmailSearchHit
impl RefUnwindSafe for EmailSearchHit
impl Send for EmailSearchHit
impl Sync for EmailSearchHit
impl Unpin for EmailSearchHit
impl UnsafeUnpin for EmailSearchHit
impl UnwindSafe for EmailSearchHit
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