pub enum ConditionsOneOf {
Show 41 variants Conditions(Conditions), AutomationSegment(AutomationSegment), PollActivitySegment(PollActivitySegment), ConversationSegment(ConversationSegment), DateSegment(DateSegment), EmailClientSegment(EmailClientSegment), LanguageSegment(LanguageSegment), MemberRatingSegment(MemberRatingSegment), SignupSourceSegment(SignupSourceSegment), SurveyMonkeySegment(SurveyMonkeySegment), VipSegment(VipSegment), InterestsSegment(InterestsSegment), EcommerceCategorySegment(EcommerceCategorySegment), EcommerceNumberSegment(EcommerceNumberSegment), EcommercePurchasedSegment(EcommercePurchasedSegment), EcommerceSpentSegment(EcommerceSpentSegment), EcommercePurchasedStoreSegment(EcommercePurchasedStoreSegment), GoalActivitySegment(GoalActivitySegment), GoalTimestampSegment(GoalTimestampSegment), SimilarSubscribersSegmentMember(SimilarSubscribersSegmentMember), StaticSegmentMember(StaticSegmentMember), LocationBasedSegment(LocationBasedSegment), GeolocationSegment(GeolocationSegment), UsZipCodeSegment(UsZipCodeSegment), UnknownLocationBasedSegment(UnknownLocationBasedSegment), ZipCodeLocationBasedSegment(ZipCodeLocationBasedSegment), SocialProfilesAgeSegment(SocialProfilesAgeSegment), SocialProfilesGenderSegment(SocialProfilesGenderSegment), SocialProfilesInfluenceSegment(SocialProfilesInfluenceSegment), SocialProfilesNetworkSegment(SocialProfilesNetworkSegment), SocialProfilesNetworkFollowSegment(SocialProfilesNetworkFollowSegment), AddressMergeFieldSegment(AddressMergeFieldSegment), AddressZipMergeFieldSegment(AddressZipMergeFieldSegment), BirthdayMergeFieldSegment(BirthdayMergeFieldSegment), DateMergeFieldSegment(DateMergeFieldSegment), DropdownRadioMergeFieldSegment(DropdownRadioMergeFieldSegment), TextNumberMergeFieldSegment(TextNumberMergeFieldSegment), EmailSegment(EmailSegment), PredictedGenderSegment(PredictedGenderSegment), PredictedAgeSegment(PredictedAgeSegment), NewSubscribersPrebuiltSegment(NewSubscribersPrebuiltSegment),
}
Expand description

All of the following types:

  • Conditions
  • AutomationSegment
  • PollActivitySegment
  • ConversationSegment
  • DateSegment
  • EmailClientSegment
  • LanguageSegment
  • MemberRatingSegment
  • SignupSourceSegment
  • SurveyMonkeySegment
  • VipSegment
  • InterestsSegment
  • EcommerceCategorySegment
  • EcommerceNumberSegment
  • EcommercePurchasedSegment
  • EcommerceSpentSegment
  • EcommercePurchasedStoreSegment
  • GoalActivitySegment
  • GoalTimestampSegment
  • SimilarSubscribersSegmentMember
  • StaticSegmentMember
  • LocationBasedSegment
  • GeolocationSegment
  • UsZipCodeSegment
  • UnknownLocationBasedSegment
  • ZipCodeLocationBasedSegment
  • SocialProfilesAgeSegment
  • SocialProfilesGenderSegment
  • SocialProfilesInfluenceSegment
  • SocialProfilesNetworkSegment
  • SocialProfilesNetworkFollowSegment
  • AddressMergeFieldSegment
  • AddressZipMergeFieldSegment
  • BirthdayMergeFieldSegment
  • DateMergeFieldSegment
  • DropdownRadioMergeFieldSegment
  • TextNumberMergeFieldSegment
  • EmailSegment
  • PredictedGenderSegment
  • PredictedAgeSegment
  • NewSubscribersPrebuiltSegment

You can easily convert this enum to the inner value with From and Into, as both are implemented for each type.

Variants

Conditions(Conditions)

Segment by interaction with a specific campaign.

AutomationSegment(AutomationSegment)

Segment by interaction with an Automation workflow.

PollActivitySegment(PollActivitySegment)

Segment by poll activity.

ConversationSegment(ConversationSegment)

Segment by interaction with a campaign via Conversations.

DateSegment(DateSegment)

Segment by a specific date field.

EmailClientSegment(EmailClientSegment)

Segment by use of a particular email client.

LanguageSegment(LanguageSegment)

Segment by language.

MemberRatingSegment(MemberRatingSegment)

Segment by member rating.

SignupSourceSegment(SignupSourceSegment)

Segment by signup source.

SurveyMonkeySegment(SurveyMonkeySegment)

Segment by interaction with a SurveyMonkey survey.

VipSegment(VipSegment)

Segment by VIP status.

InterestsSegment(InterestsSegment)

Segment by an interest group merge field.

EcommerceCategorySegment(EcommerceCategorySegment)

Segment by purchases in specific items or categories.

EcommerceNumberSegment(EcommerceNumberSegment)

Segment by average spent total, number of orders, total number of products purchased, or average number of products per order.

EcommercePurchasedSegment(EcommercePurchasedSegment)

Segment by whether someone has purchased anything.

EcommerceSpentSegment(EcommerceSpentSegment)

Segment by amount spent on a single order or across all orders.

EcommercePurchasedStoreSegment(EcommercePurchasedStoreSegment)

Segment by purchases from a specific store.

GoalActivitySegment(GoalActivitySegment)

Segment by Goal activity.

GoalTimestampSegment(GoalTimestampSegment)

Segment by most recent interaction with a website.

SimilarSubscribersSegmentMember(SimilarSubscribersSegmentMember)

Segment by similar subscribers.

StaticSegmentMember(StaticSegmentMember)

Segment by a given static segment.

LocationBasedSegment(LocationBasedSegment)

Segment by a specific country or US state.

GeolocationSegment(GeolocationSegment)

Segment by a specific geographic region.

UsZipCodeSegment(UsZipCodeSegment)

Segment by a specific US ZIP code.

UnknownLocationBasedSegment(UnknownLocationBasedSegment)

Segment members whose location information is unknown.

ZipCodeLocationBasedSegment(ZipCodeLocationBasedSegment)

Segment by a specific US ZIP code.

SocialProfilesAgeSegment(SocialProfilesAgeSegment)

Segment by age ranges in Social Profiles data.

SocialProfilesGenderSegment(SocialProfilesGenderSegment)

Segment by listed gender in Social Profiles data.

SocialProfilesInfluenceSegment(SocialProfilesInfluenceSegment)

Segment by influence rating in Social Profiles data.

SocialProfilesNetworkSegment(SocialProfilesNetworkSegment)

Segment by social network in Social Profiles data.

SocialProfilesNetworkFollowSegment(SocialProfilesNetworkFollowSegment)

Segment by social network in Social Profiles data.

AddressMergeFieldSegment(AddressMergeFieldSegment)

Segment by an address-type merge field.

AddressZipMergeFieldSegment(AddressZipMergeFieldSegment)

Segment by an address-type merge field within a given distance.

BirthdayMergeFieldSegment(BirthdayMergeFieldSegment)

Segment by a contact’s birthday.

DateMergeFieldSegment(DateMergeFieldSegment)

Segment by a given date merge field.

DropdownRadioMergeFieldSegment(DropdownRadioMergeFieldSegment)

An individual segment condition

TextNumberMergeFieldSegment(TextNumberMergeFieldSegment)

Segment by a given text or number merge field.

EmailSegment(EmailSegment)

Segment by email address.

PredictedGenderSegment(PredictedGenderSegment)

Segment by predicted gender.

PredictedAgeSegment(PredictedAgeSegment)

Segment by predicted age.

NewSubscribersPrebuiltSegment(NewSubscribersPrebuiltSegment)

Segment by when people subscribed.

Implementations

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Deserialize this value from the given Serde deserializer. Read more
The name of the generated JSON Schema. Read more
Generates a JSON Schema for this type. Read more
Whether JSON Schemas generated for this type should be re-used where possible using the $ref keyword. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more
Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Attaches the provided Context to this type, returning a WithContext wrapper. Read more
Attaches the current Context to this type, returning a WithContext wrapper. Read more
Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
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