Struct google_api_proto::google::analytics::admin::v1alpha::audience_sequence_filter::AudienceSequenceStep
source · pub struct AudienceSequenceStep {
pub scope: i32,
pub immediately_follows: bool,
pub constraint_duration: Option<Duration>,
pub filter_expression: Option<AudienceFilterExpression>,
}
Expand description
A condition that must occur in the specified step order for this user to match the sequence.
Fields§
§scope: i32
Required. Immutable. Specifies the scope for this step.
immediately_follows: bool
Optional. If true, the event satisfying this step must be the very next event after the event satisfying the last step. If unset or false, this step indirectly follows the prior step; for example, there may be events between the prior step and this step. It is ignored for the first step.
constraint_duration: Option<Duration>
Optional. When set, this step must be satisfied within the constraint_duration of the previous step (For example, t[i] - t[i-1] <= constraint_duration). If not set, there is no duration requirement (the duration is effectively unlimited). It is ignored for the first step.
filter_expression: Option<AudienceFilterExpression>
Required. Immutable. A logical expression of Audience dimension, metric, or event filters in each step.
Implementations§
source§impl AudienceSequenceStep
impl AudienceSequenceStep
sourcepub fn scope(&self) -> AudienceFilterScope
pub fn scope(&self) -> AudienceFilterScope
Returns the enum value of scope
, or the default if the field is set to an invalid enum value.
sourcepub fn set_scope(&mut self, value: AudienceFilterScope)
pub fn set_scope(&mut self, value: AudienceFilterScope)
Sets scope
to the provided enum value.
Trait Implementations§
source§impl Clone for AudienceSequenceStep
impl Clone for AudienceSequenceStep
source§fn clone(&self) -> AudienceSequenceStep
fn clone(&self) -> AudienceSequenceStep
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AudienceSequenceStep
impl Debug for AudienceSequenceStep
source§impl Default for AudienceSequenceStep
impl Default for AudienceSequenceStep
source§impl Message for AudienceSequenceStep
impl Message for AudienceSequenceStep
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
Self: Sized,
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
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<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
Self: Sized,
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
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<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
fn decode<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
self
. Read moresource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
self
.source§impl PartialEq for AudienceSequenceStep
impl PartialEq for AudienceSequenceStep
source§fn eq(&self, other: &AudienceSequenceStep) -> bool
fn eq(&self, other: &AudienceSequenceStep) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AudienceSequenceStep
Auto Trait Implementations§
impl Freeze for AudienceSequenceStep
impl RefUnwindSafe for AudienceSequenceStep
impl Send for AudienceSequenceStep
impl Sync for AudienceSequenceStep
impl Unpin for AudienceSequenceStep
impl UnwindSafe for AudienceSequenceStep
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