pub struct AndroidConfig { /* private fields */ }Expand description
Configuration for Android devices.
Implementations§
Source§impl AndroidConfig
impl AndroidConfig
pub fn new() -> Self
pub fn collapse_key(&self) -> Option<&String>
pub fn priority(&self) -> Option<&Priority>
pub fn ttl(&self) -> Option<&String>
pub fn restricted_package_name(&self) -> Option<&String>
pub fn notification(&self) -> Option<&AndroidNotification>
pub fn fcm_option(&self) -> Option<&FcmOptions>
pub fn direct_boot_ok(&self) -> Option<bool>
pub fn set_restricted_package_name( &mut self, restricted_package_name: Option<String>, )
pub fn set_notification(&mut self, notification: Option<AndroidNotification>)
pub fn set_fcm_option(&mut self, fcm_option: Option<FcmOptions>)
pub fn set_direct_boot_ok(&mut self, direct_boot_ok: Option<bool>)
pub fn set_collapse_key(&mut self, collapse_key: Option<String>)
pub fn set_priority(&mut self, priority: Option<Priority>)
pub fn set_ttl(&mut self, ttl: Option<String>)
Trait Implementations§
Source§impl Clone for AndroidConfig
impl Clone for AndroidConfig
Source§fn clone(&self) -> AndroidConfig
fn clone(&self) -> AndroidConfig
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 AndroidConfig
impl Debug for AndroidConfig
Source§impl Default for AndroidConfig
impl Default for AndroidConfig
Source§fn default() -> AndroidConfig
fn default() -> AndroidConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AndroidConfig
impl<'de> Deserialize<'de> for AndroidConfig
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 AndroidConfig
impl RefUnwindSafe for AndroidConfig
impl Send for AndroidConfig
impl Sync for AndroidConfig
impl Unpin for AndroidConfig
impl UnwindSafe for AndroidConfig
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