pub struct ActiveNotification { /* private fields */ }
Implementations§
Source§impl ActiveNotification
impl ActiveNotification
pub fn id(&self) -> i32
pub fn tag(&self) -> Option<&str>
pub fn title(&self) -> Option<&str>
pub fn body(&self) -> Option<&str>
pub fn group(&self) -> Option<&str>
pub fn group_summary(&self) -> bool
pub fn data(&self) -> &HashMap<String, String>
pub fn extra(&self) -> &HashMap<String, Value>
pub fn attachments(&self) -> &[Attachment]
pub fn action_type_id(&self) -> Option<&str>
pub fn schedule(&self) -> Option<&Schedule>
pub fn sound(&self) -> Option<&str>
Trait Implementations§
Source§impl Debug for ActiveNotification
impl Debug for ActiveNotification
Source§impl<'de> Deserialize<'de> for ActiveNotification
impl<'de> Deserialize<'de> for ActiveNotification
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 ActiveNotification
impl RefUnwindSafe for ActiveNotification
impl Send for ActiveNotification
impl Sync for ActiveNotification
impl Unpin for ActiveNotification
impl UnwindSafe for ActiveNotification
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