pub struct ListPopulationTerm {
pub remarketing_list_id: Option<String>,
pub contains: Option<bool>,
pub negation: Option<bool>,
pub value: Option<String>,
pub variable_friendly_name: Option<String>,
pub operator: Option<String>,
pub type_: Option<String>,
pub variable_name: Option<String>,
}Expand description
Remarketing List Population Rule Term.
This type is not used in any activity, and only used as part of another schema.
Fields§
§remarketing_list_id: Option<String>ID of the list in question. This field is only relevant when type is set to LIST_MEMBERSHIP_TERM.
contains: Option<bool>Will be true if the term should check if the user is in the list and false if the term should check if the user is not in the list. This field is only relevant when type is set to LIST_MEMBERSHIP_TERM. False by default.
negation: Option<bool>Whether to negate the comparison result of this term during rule evaluation. This field is only relevant when type is left unset or set to CUSTOM_VARIABLE_TERM or REFERRER_TERM.
value: Option<String>Literal to compare the variable to. This field is only relevant when type is left unset or set to CUSTOM_VARIABLE_TERM or REFERRER_TERM.
variable_friendly_name: Option<String>Friendly name of this term’s variable. This is a read-only, auto-generated field. This field is only relevant when type is left unset or set to CUSTOM_VARIABLE_TERM.
operator: Option<String>Comparison operator of this term. This field is only relevant when type is left unset or set to CUSTOM_VARIABLE_TERM or REFERRER_TERM.
type_: Option<String>List population term type determines the applicable fields in this object. If left unset or set to CUSTOM_VARIABLE_TERM, then variableName, variableFriendlyName, operator, value, and negation are applicable. If set to LIST_MEMBERSHIP_TERM then remarketingListId and contains are applicable. If set to REFERRER_TERM then operator, value, and negation are applicable.
variable_name: Option<String>Name of the variable (U1, U2, etc.) being compared in this term. This field is only relevant when type is set to null, CUSTOM_VARIABLE_TERM or REFERRER_TERM.
Trait Implementations§
Source§impl Clone for ListPopulationTerm
impl Clone for ListPopulationTerm
Source§fn clone(&self) -> ListPopulationTerm
fn clone(&self) -> ListPopulationTerm
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ListPopulationTerm
impl Debug for ListPopulationTerm
Source§impl Default for ListPopulationTerm
impl Default for ListPopulationTerm
Source§fn default() -> ListPopulationTerm
fn default() -> ListPopulationTerm
Source§impl<'de> Deserialize<'de> for ListPopulationTerm
impl<'de> Deserialize<'de> for ListPopulationTerm
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl Serialize for ListPopulationTerm
impl Serialize for ListPopulationTerm
impl Part for ListPopulationTerm
Auto Trait Implementations§
impl Freeze for ListPopulationTerm
impl RefUnwindSafe for ListPopulationTerm
impl Send for ListPopulationTerm
impl Sync for ListPopulationTerm
impl Unpin for ListPopulationTerm
impl UnwindSafe for ListPopulationTerm
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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