pub struct JourneyMessageStats {
pub totals: Option<HashMap<String, f32>>,
}Expand description
JourneyMessageStats : Delivery stats for a message-sending node. Present only on send_push, send_email, send_sms, send_iam, and send_webhook nodes. The keys inside totals depend on the node’s channel.
Fields§
§totals: Option<HashMap<String, f32>>All-time totals for this node, keyed by channel-specific stat name.
Implementations§
Source§impl JourneyMessageStats
impl JourneyMessageStats
Sourcepub fn new() -> JourneyMessageStats
pub fn new() -> JourneyMessageStats
Delivery stats for a message-sending node. Present only on send_push, send_email, send_sms, send_iam, and send_webhook nodes. The keys inside totals depend on the node’s channel.
Trait Implementations§
Source§impl Clone for JourneyMessageStats
impl Clone for JourneyMessageStats
Source§fn clone(&self) -> JourneyMessageStats
fn clone(&self) -> JourneyMessageStats
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 JourneyMessageStats
impl Debug for JourneyMessageStats
Source§impl Default for JourneyMessageStats
impl Default for JourneyMessageStats
Source§fn default() -> JourneyMessageStats
fn default() -> JourneyMessageStats
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for JourneyMessageStats
impl<'de> Deserialize<'de> for JourneyMessageStats
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 JourneyMessageStats
impl PartialEq for JourneyMessageStats
Source§impl Serialize for JourneyMessageStats
impl Serialize for JourneyMessageStats
impl StructuralPartialEq for JourneyMessageStats
Auto Trait Implementations§
impl Freeze for JourneyMessageStats
impl RefUnwindSafe for JourneyMessageStats
impl Send for JourneyMessageStats
impl Sync for JourneyMessageStats
impl Unpin for JourneyMessageStats
impl UnsafeUnpin for JourneyMessageStats
impl UnwindSafe for JourneyMessageStats
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