Struct aws_sdk_pinpoint::model::RecencyDimension
source · [−]#[non_exhaustive]pub struct RecencyDimension {
pub duration: Option<Duration>,
pub recency_type: Option<RecencyType>,
}
Expand description
Specifies criteria for including or excluding endpoints from a segment based on how recently an endpoint was active.
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.duration: Option<Duration>
The duration to use when determining whether an endpoint is active or inactive.
recency_type: Option<RecencyType>
The type of recency dimension to use for the segment. Valid values are: ACTIVE, endpoints that were active within the specified duration are included in the segment; and, INACTIVE, endpoints that weren't active within the specified duration are included in the segment.
Implementations
The duration to use when determining whether an endpoint is active or inactive.
The type of recency dimension to use for the segment. Valid values are: ACTIVE, endpoints that were active within the specified duration are included in the segment; and, INACTIVE, endpoints that weren't active within the specified duration are included in the segment.
Creates a new builder-style object to manufacture RecencyDimension
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for RecencyDimension
impl Send for RecencyDimension
impl Sync for RecencyDimension
impl Unpin for RecencyDimension
impl UnwindSafe for RecencyDimension
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more