pub struct WebPushAlerts {
pub follow: bool,
pub favourite: bool,
pub reblog: bool,
pub mention: bool,
pub poll: bool,
pub status: bool,
}Expand description
Represents the alerts that can be delivered via Web Push.
Fields§
§follow: boolWhether to notify on new followers.
favourite: boolWhether to notify on new favourites.
reblog: boolWhether to notify on new reblogs.
mention: boolWhether to notify on new mentions.
poll: boolWhether to notify on new poll results.
status: boolWhether to notify on new statuses from followed accounts.
Trait Implementations§
Source§impl Clone for WebPushAlerts
impl Clone for WebPushAlerts
Source§fn clone(&self) -> WebPushAlerts
fn clone(&self) -> WebPushAlerts
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 WebPushAlerts
impl Debug for WebPushAlerts
Source§impl<'de> Deserialize<'de> for WebPushAlerts
impl<'de> Deserialize<'de> for WebPushAlerts
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 WebPushAlerts
impl RefUnwindSafe for WebPushAlerts
impl Send for WebPushAlerts
impl Sync for WebPushAlerts
impl Unpin for WebPushAlerts
impl UnwindSafe for WebPushAlerts
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