pub struct PlatformDeliveryData {
pub edge_web_push: Option<Box<DeliveryData>>,
pub chrome_web_push: Option<Box<DeliveryData>>,
pub firefox_web_push: Option<Box<DeliveryData>>,
pub safari_web_push: Option<Box<DeliveryData>>,
pub android: Option<Box<DeliveryData>>,
pub ios: Option<Box<DeliveryData>>,
pub sms: Option<Box<DeliveryData>>,
pub email: Option<Box<DeliveryData>>,
}
Expand description
PlatformDeliveryData : Hash of delivery statistics broken out by target device platform.
Fields§
§edge_web_push: Option<Box<DeliveryData>>
§chrome_web_push: Option<Box<DeliveryData>>
§firefox_web_push: Option<Box<DeliveryData>>
§safari_web_push: Option<Box<DeliveryData>>
§android: Option<Box<DeliveryData>>
§ios: Option<Box<DeliveryData>>
§sms: Option<Box<DeliveryData>>
§email: Option<Box<DeliveryData>>
Implementations§
source§impl PlatformDeliveryData
impl PlatformDeliveryData
sourcepub fn new() -> PlatformDeliveryData
pub fn new() -> PlatformDeliveryData
Hash of delivery statistics broken out by target device platform.
Trait Implementations§
source§impl Clone for PlatformDeliveryData
impl Clone for PlatformDeliveryData
source§fn clone(&self) -> PlatformDeliveryData
fn clone(&self) -> PlatformDeliveryData
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 PlatformDeliveryData
impl Debug for PlatformDeliveryData
source§impl Default for PlatformDeliveryData
impl Default for PlatformDeliveryData
source§fn default() -> PlatformDeliveryData
fn default() -> PlatformDeliveryData
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PlatformDeliveryData
impl<'de> Deserialize<'de> for PlatformDeliveryData
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<PlatformDeliveryData> for PlatformDeliveryData
impl PartialEq<PlatformDeliveryData> for PlatformDeliveryData
source§fn eq(&self, other: &PlatformDeliveryData) -> bool
fn eq(&self, other: &PlatformDeliveryData) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.