pub struct UpdateHavePendingNotifications {
pub have_delayed_notifications: bool,
pub have_unreceived_notifications: bool,
}
Expand description
Describes whether there are some pending notification updates. Can be used to prevent application from killing, while there are some pending notifications
Fields§
§have_delayed_notifications: bool
True, if there are some delayed notification updates, which will be sent soon
have_unreceived_notifications: bool
True, if there can be some yet unreceived notifications, which are being fetched from the server
Trait Implementations§
Source§impl Clone for UpdateHavePendingNotifications
impl Clone for UpdateHavePendingNotifications
Source§fn clone(&self) -> UpdateHavePendingNotifications
fn clone(&self) -> UpdateHavePendingNotifications
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 Default for UpdateHavePendingNotifications
impl Default for UpdateHavePendingNotifications
Source§fn default() -> UpdateHavePendingNotifications
fn default() -> UpdateHavePendingNotifications
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateHavePendingNotifications
impl<'de> Deserialize<'de> for UpdateHavePendingNotifications
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
Source§impl PartialEq for UpdateHavePendingNotifications
impl PartialEq for UpdateHavePendingNotifications
Source§fn eq(&self, other: &UpdateHavePendingNotifications) -> bool
fn eq(&self, other: &UpdateHavePendingNotifications) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for UpdateHavePendingNotifications
Auto Trait Implementations§
impl Freeze for UpdateHavePendingNotifications
impl RefUnwindSafe for UpdateHavePendingNotifications
impl Send for UpdateHavePendingNotifications
impl Sync for UpdateHavePendingNotifications
impl Unpin for UpdateHavePendingNotifications
impl UnwindSafe for UpdateHavePendingNotifications
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