Struct aws_sdk_sesv2::types::EmailInsights
source · #[non_exhaustive]pub struct EmailInsights {
pub destination: Option<String>,
pub isp: Option<String>,
pub events: Option<Vec<InsightsEvent>>,
}Expand description
An email's insights contain metadata and delivery information about a specific email.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.destination: Option<String>The recipient of the email.
isp: Option<String>The recipient's ISP (e.g., Gmail, Yahoo, etc.).
events: Option<Vec<InsightsEvent>>A list of events associated with the sent email.
Implementations§
source§impl EmailInsights
impl EmailInsights
sourcepub fn destination(&self) -> Option<&str>
pub fn destination(&self) -> Option<&str>
The recipient of the email.
sourcepub fn events(&self) -> &[InsightsEvent]
pub fn events(&self) -> &[InsightsEvent]
A list of events associated with the sent email.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .events.is_none().
source§impl EmailInsights
impl EmailInsights
sourcepub fn builder() -> EmailInsightsBuilder
pub fn builder() -> EmailInsightsBuilder
Creates a new builder-style object to manufacture EmailInsights.
Trait Implementations§
source§impl Clone for EmailInsights
impl Clone for EmailInsights
source§fn clone(&self) -> EmailInsights
fn clone(&self) -> EmailInsights
Returns a copy of the value. Read more
1.0.0 · 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 EmailInsights
impl Debug for EmailInsights
source§impl PartialEq for EmailInsights
impl PartialEq for EmailInsights
source§fn eq(&self, other: &EmailInsights) -> bool
fn eq(&self, other: &EmailInsights) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for EmailInsights
Auto Trait Implementations§
impl RefUnwindSafe for EmailInsights
impl Send for EmailInsights
impl Sync for EmailInsights
impl Unpin for EmailInsights
impl UnwindSafe for EmailInsights
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> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.