Struct firebae_cm::AndroidNotification
source · [−]pub struct AndroidNotification { /* private fields */ }
Implementations
sourceimpl AndroidNotification
impl AndroidNotification
pub fn new() -> Self
pub fn title(&mut self, title: String) -> &mut Self
pub fn body(&mut self, body: String) -> &mut Self
pub fn icon(&mut self, icon: String) -> &mut Self
pub fn color(&mut self, color: String) -> &mut Self
pub fn sound(&mut self, sound: String) -> &mut Self
pub fn tag(&mut self, tag: String) -> &mut Self
pub fn click_action(&mut self, click_action: String) -> &mut Self
pub fn body_loc_key(&mut self, body_loc_key: String) -> &mut Self
pub fn body_loc_args(&mut self, body_loc_args: Vec<String>) -> &mut Self
pub fn title_loc_key(&mut self, title_loc_key: String) -> &mut Self
pub fn title_loc_args(&mut self, title_loc_args: Vec<String>) -> &mut Self
pub fn channel_id(&mut self, channel_id: String) -> &mut Self
pub fn ticker(&mut self, ticker: String) -> &mut Self
pub fn sticky(&mut self, sticky: bool) -> &mut Self
pub fn event_time(&mut self, event_time: OffsetDateTime) -> Result<&mut Self>
pub fn local_only(&mut self, local_only: bool) -> &mut Self
pub fn notification_priority(
&mut self,
notification_priority: NotificationPriority
) -> &mut Self
pub fn default_sound(&mut self, default_sound: bool) -> &mut Self
pub fn default_vibrate_timings(
&mut self,
default_vibrate_timings: bool
) -> &mut Self
pub fn default_light_settings(
&mut self,
default_light_settings: bool
) -> &mut Self
pub fn vibrate_timings(&mut self, vibrate_timings: Vec<String>) -> &mut Self
pub fn visibility(&mut self, visibility: Visibility) -> &mut Self
pub fn notification_count(&mut self, notification_count: i32) -> &mut Self
pub fn light_settings(&mut self, light_settings: LightSettings) -> &mut Self
pub fn image(&mut self, image: String) -> &mut Self
Trait Implementations
sourceimpl Clone for AndroidNotification
impl Clone for AndroidNotification
sourcefn clone(&self) -> AndroidNotification
fn clone(&self) -> AndroidNotification
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for AndroidNotification
impl Debug for AndroidNotification
sourceimpl Default for AndroidNotification
impl Default for AndroidNotification
sourcefn default() -> AndroidNotification
fn default() -> AndroidNotification
Returns the “default value” for a type. Read more
sourceimpl Serialize for AndroidNotification
impl Serialize for AndroidNotification
Auto Trait Implementations
impl RefUnwindSafe for AndroidNotification
impl Send for AndroidNotification
impl Sync for AndroidNotification
impl Unpin for AndroidNotification
impl UnwindSafe for AndroidNotification
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more