Struct google_api_proto::google::ads::googleads::v15::common::FlexibleRuleUserListInfo
source · pub struct FlexibleRuleUserListInfo {
pub inclusive_rule_operator: i32,
pub inclusive_operands: Vec<FlexibleRuleOperandInfo>,
pub exclusive_operands: Vec<FlexibleRuleOperandInfo>,
}
Expand description
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.
Fields§
§inclusive_rule_operator: i32
Operator that defines how the inclusive operands are combined.
inclusive_operands: Vec<FlexibleRuleOperandInfo>
Rules representing users that should be included in the user list. These are located on the left side of the AND_NOT operator, and joined together by either AND/OR as specified by the inclusive_rule_operator.
exclusive_operands: Vec<FlexibleRuleOperandInfo>
Rules representing users that should be excluded from the user list. These are located on the right side of the AND_NOT operator, and joined together by OR.
Implementations§
source§impl FlexibleRuleUserListInfo
impl FlexibleRuleUserListInfo
sourcepub fn inclusive_rule_operator(&self) -> UserListFlexibleRuleOperator
pub fn inclusive_rule_operator(&self) -> UserListFlexibleRuleOperator
Returns the enum value of inclusive_rule_operator
, or the default if the field is set to an invalid enum value.
sourcepub fn set_inclusive_rule_operator(
&mut self,
value: UserListFlexibleRuleOperator,
)
pub fn set_inclusive_rule_operator( &mut self, value: UserListFlexibleRuleOperator, )
Sets inclusive_rule_operator
to the provided enum value.
Trait Implementations§
source§impl Clone for FlexibleRuleUserListInfo
impl Clone for FlexibleRuleUserListInfo
source§fn clone(&self) -> FlexibleRuleUserListInfo
fn clone(&self) -> FlexibleRuleUserListInfo
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for FlexibleRuleUserListInfo
impl Debug for FlexibleRuleUserListInfo
source§impl Default for FlexibleRuleUserListInfo
impl Default for FlexibleRuleUserListInfo
source§impl Message for FlexibleRuleUserListInfo
impl Message for FlexibleRuleUserListInfo
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
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(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
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(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for FlexibleRuleUserListInfo
impl PartialEq for FlexibleRuleUserListInfo
source§fn eq(&self, other: &FlexibleRuleUserListInfo) -> bool
fn eq(&self, other: &FlexibleRuleUserListInfo) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for FlexibleRuleUserListInfo
Auto Trait Implementations§
impl Freeze for FlexibleRuleUserListInfo
impl RefUnwindSafe for FlexibleRuleUserListInfo
impl Send for FlexibleRuleUserListInfo
impl Sync for FlexibleRuleUserListInfo
impl Unpin for FlexibleRuleUserListInfo
impl UnwindSafe for FlexibleRuleUserListInfo
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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