pub struct JourneyNodeStats {
pub kind: Option<KindType>,
pub waiting: Option<i32>,
pub completed: Option<i32>,
pub exited_early: Option<i32>,
pub message_stats: Option<Box<JourneyMessageStats>>,
}Expand description
JourneyNodeStats : Stats for a single node. Keyed in the response by the node’s server-assigned id.
Fields§
§kind: Option<KindType>Node kind, repeated here so stats can be read without joining against the journey definition.
waiting: Option<i32>Users currently held at this node.
completed: Option<i32>Users who advanced past this node normally.
exited_early: Option<i32>Users who left the journey from this node through an early exit rule.
message_stats: Option<Box<JourneyMessageStats>>Implementations§
Source§impl JourneyNodeStats
impl JourneyNodeStats
Sourcepub fn new() -> JourneyNodeStats
pub fn new() -> JourneyNodeStats
Stats for a single node. Keyed in the response by the node’s server-assigned id.
Trait Implementations§
Source§impl Clone for JourneyNodeStats
impl Clone for JourneyNodeStats
Source§fn clone(&self) -> JourneyNodeStats
fn clone(&self) -> JourneyNodeStats
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 JourneyNodeStats
impl Debug for JourneyNodeStats
Source§impl Default for JourneyNodeStats
impl Default for JourneyNodeStats
Source§fn default() -> JourneyNodeStats
fn default() -> JourneyNodeStats
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for JourneyNodeStats
impl<'de> Deserialize<'de> for JourneyNodeStats
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for JourneyNodeStats
impl PartialEq for JourneyNodeStats
Source§impl Serialize for JourneyNodeStats
impl Serialize for JourneyNodeStats
impl StructuralPartialEq for JourneyNodeStats
Auto Trait Implementations§
impl Freeze for JourneyNodeStats
impl RefUnwindSafe for JourneyNodeStats
impl Send for JourneyNodeStats
impl Sync for JourneyNodeStats
impl Unpin for JourneyNodeStats
impl UnsafeUnpin for JourneyNodeStats
impl UnwindSafe for JourneyNodeStats
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