Struct aws_sdk_sesv2::types::MessageInsightsDataSource
source · #[non_exhaustive]pub struct MessageInsightsDataSource {
pub start_date: DateTime,
pub end_date: DateTime,
pub include: Option<MessageInsightsFilters>,
pub exclude: Option<MessageInsightsFilters>,
pub max_results: Option<i32>,
}Expand description
An object that contains filters applied when performing the Message Insights export.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.start_date: DateTimeRepresents the start date for the export interval as a timestamp. The start date is inclusive.
end_date: DateTimeRepresents the end date for the export interval as a timestamp. The end date is inclusive.
include: Option<MessageInsightsFilters>Filters for results to be included in the export file.
exclude: Option<MessageInsightsFilters>Filters for results to be excluded from the export file.
max_results: Option<i32>The maximum number of results.
Implementations§
source§impl MessageInsightsDataSource
impl MessageInsightsDataSource
sourcepub fn start_date(&self) -> &DateTime
pub fn start_date(&self) -> &DateTime
Represents the start date for the export interval as a timestamp. The start date is inclusive.
sourcepub fn end_date(&self) -> &DateTime
pub fn end_date(&self) -> &DateTime
Represents the end date for the export interval as a timestamp. The end date is inclusive.
sourcepub fn include(&self) -> Option<&MessageInsightsFilters>
pub fn include(&self) -> Option<&MessageInsightsFilters>
Filters for results to be included in the export file.
sourcepub fn exclude(&self) -> Option<&MessageInsightsFilters>
pub fn exclude(&self) -> Option<&MessageInsightsFilters>
Filters for results to be excluded from the export file.
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
The maximum number of results.
source§impl MessageInsightsDataSource
impl MessageInsightsDataSource
sourcepub fn builder() -> MessageInsightsDataSourceBuilder
pub fn builder() -> MessageInsightsDataSourceBuilder
Creates a new builder-style object to manufacture MessageInsightsDataSource.
Trait Implementations§
source§impl Clone for MessageInsightsDataSource
impl Clone for MessageInsightsDataSource
source§fn clone(&self) -> MessageInsightsDataSource
fn clone(&self) -> MessageInsightsDataSource
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for MessageInsightsDataSource
impl Debug for MessageInsightsDataSource
source§impl PartialEq for MessageInsightsDataSource
impl PartialEq for MessageInsightsDataSource
source§fn eq(&self, other: &MessageInsightsDataSource) -> bool
fn eq(&self, other: &MessageInsightsDataSource) -> bool
self and other values to be equal, and is used
by ==.