Struct google_api_proto::google::analytics::data::v1alpha::UserSequenceStep
source · pub struct UserSequenceStep {
pub is_directly_followed_by: bool,
pub step_scoping: i32,
pub segment_filter_expression: Option<SegmentFilterExpression>,
}
Expand description
A condition that must occur in the specified step order for this user to match the sequence.
Fields§
§is_directly_followed_by: bool
If true, the event satisfying this step must be the very next event
after the event satifying the last step. If false, this step indirectly
follows the prior step; for example, there may be events between the
prior step and this step. isDirectlyFollowedBy
must be false for
the first step.
step_scoping: i32
This sequence step must be satisfied in the scoping for the user to
match the sequence. For example if sequenceScoping = WITHIN_SAME_SESSION
, this sequence steps must complete within one
session for the user to match the sequence. stepScoping = ACROSS_ALL_SESSIONS
is only allowed if the sequenceScoping = ACROSS_ALL_SESSIONS
.
Optional. If unspecified, stepScoping
uses the same
UserCriteriaScoping
as the sequenceScoping
.
segment_filter_expression: Option<SegmentFilterExpression>
A user matches this sequence step if their events match this expression. Expressions express criteria on dimension, metrics, and/or parameters.
Implementations§
source§impl UserSequenceStep
impl UserSequenceStep
sourcepub fn step_scoping(&self) -> UserCriteriaScoping
pub fn step_scoping(&self) -> UserCriteriaScoping
Returns the enum value of step_scoping
, or the default if the field is set to an invalid enum value.
sourcepub fn set_step_scoping(&mut self, value: UserCriteriaScoping)
pub fn set_step_scoping(&mut self, value: UserCriteriaScoping)
Sets step_scoping
to the provided enum value.
Trait Implementations§
source§impl Clone for UserSequenceStep
impl Clone for UserSequenceStep
source§fn clone(&self) -> UserSequenceStep
fn clone(&self) -> UserSequenceStep
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UserSequenceStep
impl Debug for UserSequenceStep
source§impl Default for UserSequenceStep
impl Default for UserSequenceStep
source§impl Message for UserSequenceStep
impl Message for UserSequenceStep
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 UserSequenceStep
impl PartialEq for UserSequenceStep
source§fn eq(&self, other: &UserSequenceStep) -> bool
fn eq(&self, other: &UserSequenceStep) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UserSequenceStep
Auto Trait Implementations§
impl Freeze for UserSequenceStep
impl RefUnwindSafe for UserSequenceStep
impl Send for UserSequenceStep
impl Sync for UserSequenceStep
impl Unpin for UserSequenceStep
impl UnwindSafe for UserSequenceStep
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