Struct aws_sdk_pinpoint::model::Condition
source · [−]#[non_exhaustive]pub struct Condition {
pub conditions: Option<Vec<SimpleCondition>>,
pub operator: Option<Operator>,
}
Expand description
Specifies the conditions to evaluate for an activity in a journey, and how to evaluate those conditions.
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.conditions: Option<Vec<SimpleCondition>>
The conditions to evaluate for the activity.
operator: Option<Operator>
Specifies how to handle multiple conditions for the activity. For example, if you specify two conditions for an activity, whether both or only one of the conditions must be met for the activity to be performed.
Implementations
The conditions to evaluate for the activity.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Condition
impl UnwindSafe for Condition
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