pub struct AndroidNotification { /* private fields */ }Implementations§
Source§impl AndroidNotification
impl AndroidNotification
pub fn new() -> Self
pub fn title(&self) -> Option<&String>
pub fn body(&self) -> Option<&String>
pub fn icon(&self) -> Option<&String>
pub fn color(&self) -> Option<&String>
pub fn sound(&self) -> Option<&String>
pub fn tag(&self) -> Option<&String>
pub fn click_action(&self) -> Option<&String>
pub fn body_loc_key(&self) -> Option<&String>
pub fn body_loc_key_args(&self) -> Option<&Vec<String>>
pub fn title_loc_key(&self) -> Option<&String>
pub fn title_loc_key_args(&self) -> Option<&Vec<String>>
pub fn channel_id(&self) -> Option<&String>
pub fn ticker(&self) -> Option<&String>
pub fn sticky(&self) -> Option<&bool>
pub fn event_time(&self) -> Option<&DateTime<Utc>>
pub fn local_only(&self) -> Option<&bool>
pub fn notification_priority(&self) -> Option<&NotificationPriority>
pub fn default_sound(&self) -> Option<&bool>
pub fn default_light_settings(&self) -> Option<&bool>
pub fn default_vibrate_timings(&self) -> Option<&bool>
pub fn vibrate_timings(&self) -> Option<&Vec<String>>
pub fn visibility(&self) -> Option<&Visibility>
pub fn notification_count(&self) -> Option<&i32>
pub fn light_settings(&self) -> Option<&LightSettings>
pub fn image(&self) -> Option<&String>
pub fn bypass_proxy_notification(&self) -> Option<&bool>
pub fn proxy(&self) -> Option<&Proxy>
pub fn set_title(&mut self, title: Option<String>)
pub fn set_body(&mut self, body: Option<String>)
pub fn set_icon(&mut self, icon: Option<String>)
pub fn set_color(&mut self, color: Option<String>)
pub fn set_sound(&mut self, sound: Option<String>)
pub fn set_tag(&mut self, tag: Option<String>)
pub fn set_click_action(&mut self, click_action: Option<String>)
pub fn set_body_loc_key(&mut self, body_loc_key: Option<String>)
pub fn set_body_loc_key_args(&mut self, body_loc_key_args: Option<Vec<String>>)
pub fn set_title_loc_key(&mut self, title_loc_key: Option<String>)
pub fn set_title_loc_key_args( &mut self, title_loc_key_args: Option<Vec<String>>, )
pub fn set_channel_id(&mut self, channel_id: Option<String>)
pub fn set_ticker(&mut self, ticker: Option<String>)
pub fn set_sticky(&mut self, sticky: Option<bool>)
pub fn set_event_time(&mut self, event_time: Option<DateTime<Utc>>)
pub fn set_local_only(&mut self, local_only: Option<bool>)
pub fn set_notification_priority( &mut self, notification_priority: Option<NotificationPriority>, )
pub fn set_default_sound(&mut self, default_sound: Option<bool>)
pub fn set_default_light_settings( &mut self, default_light_settings: Option<bool>, )
pub fn set_default_vibrate_timings( &mut self, default_vibrate_timings: Option<bool>, )
pub fn set_vibrate_timings(&mut self, vibrate_timings: Option<Vec<String>>)
pub fn set_visibility(&mut self, visibility: Option<Visibility>)
pub fn set_notification_count(&mut self, notification_count: Option<i32>)
pub fn set_light_settings(&mut self, light_settings: Option<LightSettings>)
pub fn set_image(&mut self, image: Option<String>)
pub fn set_bypass_proxy_notification( &mut self, bypass_proxy_notification: Option<bool>, )
pub fn set_proxy(&mut self, proxy: Option<Proxy>)
Trait Implementations§
Source§impl Clone for AndroidNotification
impl Clone for AndroidNotification
Source§fn clone(&self) -> AndroidNotification
fn clone(&self) -> AndroidNotification
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 AndroidNotification
impl Debug for AndroidNotification
Source§impl Default for AndroidNotification
impl Default for AndroidNotification
Source§fn default() -> AndroidNotification
fn default() -> AndroidNotification
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AndroidNotification
impl<'de> Deserialize<'de> for AndroidNotification
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 AndroidNotification
impl RefUnwindSafe for AndroidNotification
impl Send for AndroidNotification
impl Sync for AndroidNotification
impl Unpin for AndroidNotification
impl UnwindSafe for AndroidNotification
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