pub struct NotificationPlan {
pub key: String,
pub play_sound: bool,
pub sound_name: Option<String>,
}Fields§
§key: String§play_sound: bool§sound_name: Option<String>Trait Implementations§
Source§impl Clone for NotificationPlan
impl Clone for NotificationPlan
Source§impl Debug for NotificationPlan
impl Debug for NotificationPlan
impl Eq for NotificationPlan
Source§impl PartialEq for NotificationPlan
impl PartialEq for NotificationPlan
impl StructuralPartialEq for NotificationPlan
Auto Trait Implementations§
impl Freeze for NotificationPlan
impl RefUnwindSafe for NotificationPlan
impl Send for NotificationPlan
impl Sync for NotificationPlan
impl Unpin for NotificationPlan
impl UnsafeUnpin for NotificationPlan
impl UnwindSafe for NotificationPlan
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.