Struct onesignal_rust_api::models::delivery_data::DeliveryData
source · pub struct DeliveryData {
pub successful: Option<i32>,
pub failed: Option<i32>,
pub errored: Option<i32>,
pub converted: Option<i32>,
pub received: Option<i32>,
}
Fields§
§successful: Option<i32>
Number of messages delivered to push servers, mobile carriers, or email service providers.
failed: Option<i32>
Number of messages sent to unsubscribed devices.
errored: Option<i32>
Number of errors reported.
converted: Option<i32>
Number of messages that were clicked.
received: Option<i32>
Number of devices that received the message.
Implementations§
source§impl DeliveryData
impl DeliveryData
pub fn new() -> DeliveryData
Trait Implementations§
source§impl Clone for DeliveryData
impl Clone for DeliveryData
source§fn clone(&self) -> DeliveryData
fn clone(&self) -> DeliveryData
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 DeliveryData
impl Debug for DeliveryData
source§impl Default for DeliveryData
impl Default for DeliveryData
source§fn default() -> DeliveryData
fn default() -> DeliveryData
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for DeliveryData
impl<'de> Deserialize<'de> for DeliveryData
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<DeliveryData> for DeliveryData
impl PartialEq<DeliveryData> for DeliveryData
source§fn eq(&self, other: &DeliveryData) -> bool
fn eq(&self, other: &DeliveryData) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.