#[non_exhaustive]pub struct AnalyticsIntentNodeSummary {
pub intent_name: Option<String>,
pub intent_path: Option<String>,
pub intent_count: Option<i32>,
pub intent_level: Option<i32>,
pub node_type: Option<AnalyticsNodeType>,
}
Expand description
An object containing information about the requested path.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.intent_name: Option<String>
The name of the intent at the end of the requested path.
intent_path: Option<String>
The path.
intent_count: Option<i32>
The total number of sessions that follow the given path to the given intent.
intent_level: Option<i32>
The number of intents up to and including the requested path.
node_type: Option<AnalyticsNodeType>
Specifies whether the node is the end of a path (Exit
) or not (Inner
).
Implementations§
source§impl AnalyticsIntentNodeSummary
impl AnalyticsIntentNodeSummary
sourcepub fn intent_name(&self) -> Option<&str>
pub fn intent_name(&self) -> Option<&str>
The name of the intent at the end of the requested path.
sourcepub fn intent_path(&self) -> Option<&str>
pub fn intent_path(&self) -> Option<&str>
The path.
sourcepub fn intent_count(&self) -> Option<i32>
pub fn intent_count(&self) -> Option<i32>
The total number of sessions that follow the given path to the given intent.
sourcepub fn intent_level(&self) -> Option<i32>
pub fn intent_level(&self) -> Option<i32>
The number of intents up to and including the requested path.
sourcepub fn node_type(&self) -> Option<&AnalyticsNodeType>
pub fn node_type(&self) -> Option<&AnalyticsNodeType>
Specifies whether the node is the end of a path (Exit
) or not (Inner
).
source§impl AnalyticsIntentNodeSummary
impl AnalyticsIntentNodeSummary
sourcepub fn builder() -> AnalyticsIntentNodeSummaryBuilder
pub fn builder() -> AnalyticsIntentNodeSummaryBuilder
Creates a new builder-style object to manufacture AnalyticsIntentNodeSummary
.
Trait Implementations§
source§impl Clone for AnalyticsIntentNodeSummary
impl Clone for AnalyticsIntentNodeSummary
source§fn clone(&self) -> AnalyticsIntentNodeSummary
fn clone(&self) -> AnalyticsIntentNodeSummary
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AnalyticsIntentNodeSummary
impl Debug for AnalyticsIntentNodeSummary
source§impl PartialEq for AnalyticsIntentNodeSummary
impl PartialEq for AnalyticsIntentNodeSummary
source§fn eq(&self, other: &AnalyticsIntentNodeSummary) -> bool
fn eq(&self, other: &AnalyticsIntentNodeSummary) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AnalyticsIntentNodeSummary
Auto Trait Implementations§
impl RefUnwindSafe for AnalyticsIntentNodeSummary
impl Send for AnalyticsIntentNodeSummary
impl Sync for AnalyticsIntentNodeSummary
impl Unpin for AnalyticsIntentNodeSummary
impl UnwindSafe for AnalyticsIntentNodeSummary
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.