pub struct Aps {
pub alert: Option<ApsAlert>,
pub badge: Option<i32>,
pub sound: Option<String>,
pub content_available: Option<i32>,
pub mutable_content: Option<i32>,
pub category: Option<String>,
pub thread_id: Option<String>,
}Expand description
The aps dictionary.
Fields§
§alert: Option<ApsAlert>The alert dictionary or string.
badge: Option<i32>The badge number to display.
sound: Option<String>The name of a sound file to play.
content_available: Option<i32>Content available flag.
mutable_content: Option<i32>Mutable content flag.
category: Option<String>The category identifier.
thread_id: Option<String>The thread identifier.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Aps
impl<'de> Deserialize<'de> for Aps
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 Aps
impl RefUnwindSafe for Aps
impl Send for Aps
impl Sync for Aps
impl Unpin for Aps
impl UnwindSafe for Aps
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