pub struct ApnsPayload {
pub aps: Option<Aps>,
pub custom_data: Option<HashMap<String, Value>>,
}Expand description
APNs payload.
Fields§
§aps: Option<Aps>The aps dictionary.
custom_data: Option<HashMap<String, Value>>Custom data to include in the payload.
Trait Implementations§
Source§impl Clone for ApnsPayload
impl Clone for ApnsPayload
Source§fn clone(&self) -> ApnsPayload
fn clone(&self) -> ApnsPayload
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 ApnsPayload
impl Debug for ApnsPayload
Source§impl Default for ApnsPayload
impl Default for ApnsPayload
Source§fn default() -> ApnsPayload
fn default() -> ApnsPayload
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ApnsPayload
impl<'de> Deserialize<'de> for ApnsPayload
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
Auto Trait Implementations§
impl Freeze for ApnsPayload
impl RefUnwindSafe for ApnsPayload
impl Send for ApnsPayload
impl Sync for ApnsPayload
impl Unpin for ApnsPayload
impl UnwindSafe for ApnsPayload
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