pub struct RuleBasedUserListInfo {
pub prepopulation_status: i32,
pub flexible_rule_user_list: Option<FlexibleRuleUserListInfo>,
}
Expand description
Representation of a userlist that is generated by a rule.
Fields§
§prepopulation_status: i32
The status of pre-population. The field is default to NONE if not set which means the previous users will not be considered. If set to REQUESTED, past site visitors or app users who match the list definition will be included in the list (works on the Display Network only). This will only add past users from within the last 30 days, depending on the list’s membership duration and the date when the remarketing tag is added. The status will be updated to FINISHED once request is processed, or FAILED if the request fails.
flexible_rule_user_list: Option<FlexibleRuleUserListInfo>
Flexible rule representation of visitors with one or multiple actions. The flexible user list is defined by two lists of operands – inclusive_operands and exclusive_operands; each operand represents a set of users based on actions they took in a given timeframe. These lists of operands are combined with the AND_NOT operator, so that users represented by the inclusive operands are included in the user list, minus the users represented by the exclusive operands.
Implementations§
Source§impl RuleBasedUserListInfo
impl RuleBasedUserListInfo
Sourcepub fn prepopulation_status(&self) -> UserListPrepopulationStatus
pub fn prepopulation_status(&self) -> UserListPrepopulationStatus
Returns the enum value of prepopulation_status
, or the default if the field is set to an invalid enum value.
Sourcepub fn set_prepopulation_status(&mut self, value: UserListPrepopulationStatus)
pub fn set_prepopulation_status(&mut self, value: UserListPrepopulationStatus)
Sets prepopulation_status
to the provided enum value.
Trait Implementations§
Source§impl Clone for RuleBasedUserListInfo
impl Clone for RuleBasedUserListInfo
Source§fn clone(&self) -> RuleBasedUserListInfo
fn clone(&self) -> RuleBasedUserListInfo
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for RuleBasedUserListInfo
impl Debug for RuleBasedUserListInfo
Source§impl Default for RuleBasedUserListInfo
impl Default for RuleBasedUserListInfo
Source§impl Message for RuleBasedUserListInfo
impl Message for RuleBasedUserListInfo
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
Source§fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
Source§fn decode<B>(buf: B) -> Result<Self, DecodeError>
fn decode<B>(buf: B) -> Result<Self, DecodeError>
Source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
Source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
self
. Read moreSource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
self
.Source§impl PartialEq for RuleBasedUserListInfo
impl PartialEq for RuleBasedUserListInfo
impl StructuralPartialEq for RuleBasedUserListInfo
Auto Trait Implementations§
impl Freeze for RuleBasedUserListInfo
impl RefUnwindSafe for RuleBasedUserListInfo
impl Send for RuleBasedUserListInfo
impl Sync for RuleBasedUserListInfo
impl Unpin for RuleBasedUserListInfo
impl UnwindSafe for RuleBasedUserListInfo
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> 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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request