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: DateTime
Represents the start date for the export interval as a timestamp. The start date is inclusive.
end_date: DateTime
Represents 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 ==
.impl StructuralPartialEq for MessageInsightsDataSource
Auto Trait Implementations§
impl Freeze for MessageInsightsDataSource
impl RefUnwindSafe for MessageInsightsDataSource
impl Send for MessageInsightsDataSource
impl Sync for MessageInsightsDataSource
impl Unpin for MessageInsightsDataSource
impl UnwindSafe for MessageInsightsDataSource
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
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more