Struct google_api_proto::google::analytics::data::v1alpha::UserSegmentSequenceGroup
source · pub struct UserSegmentSequenceGroup {
pub sequence_scoping: i32,
pub sequence_maximum_duration: Option<Duration>,
pub user_sequence_steps: Vec<UserSequenceStep>,
}
Expand description
Define conditions that must occur in a specific order for the user to be a member of the segment.
Fields§
§sequence_scoping: i32
All sequence steps must be satisfied in the scoping for the user to
match the sequence. For example if sequenceScoping = USER_CRITERIA_WITHIN_SAME_SESSION
, all sequence steps must complete within
one session for the user to match the sequence. sequenceScoping = USER_CRITERIA_WITHIN_SAME_EVENT
is not supported.
Optional. If unspecified, conditionScoping = ACROSS_ALL_SESSIONS
is
used.
sequence_maximum_duration: Option<Duration>
Defines the time period in which the whole sequence must occur; for
example, 30 Minutes. sequenceMaximumDuration
is inclusive
of the endpoint at the microsecond granularity. For example a sequence
with a maximum duration of 5 seconds can be completed at 4.9 or 5.0
seconds, but not 5 seconds and 1 microsecond.
sequenceMaximumDuration
is optional, and if unspecified, sequences can
be completed in any time duration.
user_sequence_steps: Vec<UserSequenceStep>
An ordered sequence of condition steps. A user’s events must complete
each step in order for the user to match the
UserSegmentSequenceGroup
.
Implementations§
source§impl UserSegmentSequenceGroup
impl UserSegmentSequenceGroup
sourcepub fn sequence_scoping(&self) -> UserCriteriaScoping
pub fn sequence_scoping(&self) -> UserCriteriaScoping
Returns the enum value of sequence_scoping
, or the default if the field is set to an invalid enum value.
sourcepub fn set_sequence_scoping(&mut self, value: UserCriteriaScoping)
pub fn set_sequence_scoping(&mut self, value: UserCriteriaScoping)
Sets sequence_scoping
to the provided enum value.
Trait Implementations§
source§impl Clone for UserSegmentSequenceGroup
impl Clone for UserSegmentSequenceGroup
source§fn clone(&self) -> UserSegmentSequenceGroup
fn clone(&self) -> UserSegmentSequenceGroup
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UserSegmentSequenceGroup
impl Debug for UserSegmentSequenceGroup
source§impl Default for UserSegmentSequenceGroup
impl Default for UserSegmentSequenceGroup
source§impl Message for UserSegmentSequenceGroup
impl Message for UserSegmentSequenceGroup
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 UserSegmentSequenceGroup
impl PartialEq for UserSegmentSequenceGroup
source§fn eq(&self, other: &UserSegmentSequenceGroup) -> bool
fn eq(&self, other: &UserSegmentSequenceGroup) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UserSegmentSequenceGroup
Auto Trait Implementations§
impl Freeze for UserSegmentSequenceGroup
impl RefUnwindSafe for UserSegmentSequenceGroup
impl Send for UserSegmentSequenceGroup
impl Sync for UserSegmentSequenceGroup
impl Unpin for UserSegmentSequenceGroup
impl UnwindSafe for UserSegmentSequenceGroup
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