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 duplicate 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 for PlatformDeliveryData
impl PartialEq for PlatformDeliveryData
Source§impl Serialize for PlatformDeliveryData
impl Serialize for PlatformDeliveryData
impl StructuralPartialEq for PlatformDeliveryData
Auto Trait Implementations§
impl Freeze for PlatformDeliveryData
impl RefUnwindSafe for PlatformDeliveryData
impl Send for PlatformDeliveryData
impl Sync for PlatformDeliveryData
impl Unpin for PlatformDeliveryData
impl UnwindSafe for PlatformDeliveryData
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