pub struct ApnsConfig {
pub headers: Option<HashMap<String, String>>,
pub payload: Option<ApnsPayload>,
pub fcm_options: Option<ApnsFcmOptions>,
}Expand description
Apple Push Notification Service specific options.
Fields§
§headers: Option<HashMap<String, String>>HTTP request headers defined in Apple Push Notification Service.
payload: Option<ApnsPayload>APNs payload as a JSON object, including both ‘aps’ dictionary and custom payload.
fcm_options: Option<ApnsFcmOptions>Options for features provided by the FCM SDK for iOS.
Trait Implementations§
Source§impl Clone for ApnsConfig
impl Clone for ApnsConfig
Source§fn clone(&self) -> ApnsConfig
fn clone(&self) -> ApnsConfig
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 ApnsConfig
impl Debug for ApnsConfig
Source§impl Default for ApnsConfig
impl Default for ApnsConfig
Source§fn default() -> ApnsConfig
fn default() -> ApnsConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ApnsConfig
impl<'de> Deserialize<'de> for ApnsConfig
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 ApnsConfig
impl RefUnwindSafe for ApnsConfig
impl Send for ApnsConfig
impl Sync for ApnsConfig
impl Unpin for ApnsConfig
impl UnwindSafe for ApnsConfig
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