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<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 FlexibleRuleUserListInfo
impl PartialEq for FlexibleRuleUserListInfo
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
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