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
sourceimpl DeliveryData
impl DeliveryData
pub fn new() -> DeliveryData
Trait Implementations
sourceimpl Clone for DeliveryData
impl Clone for DeliveryData
sourcefn clone(&self) -> DeliveryData
fn clone(&self) -> DeliveryData
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for DeliveryData
impl Debug for DeliveryData
sourceimpl Default for DeliveryData
impl Default for DeliveryData
sourcefn default() -> DeliveryData
fn default() -> DeliveryData
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for DeliveryData
impl<'de> Deserialize<'de> for DeliveryData
sourcefn 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
sourceimpl PartialEq<DeliveryData> for DeliveryData
impl PartialEq<DeliveryData> for DeliveryData
sourcefn eq(&self, other: &DeliveryData) -> bool
fn eq(&self, other: &DeliveryData) -> bool
sourceimpl Serialize for DeliveryData
impl Serialize for DeliveryData
impl StructuralPartialEq for DeliveryData
Auto Trait Implementations
impl RefUnwindSafe for DeliveryData
impl Send for DeliveryData
impl Sync for DeliveryData
impl Unpin for DeliveryData
impl UnwindSafe for DeliveryData
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more