pub struct PayloadOptionsNotificationOptions {
pub send: Option<bool>,
pub force_dnd: Option<bool>,
}
Fields§
§send: Option<bool>
(Default: true) - отправлять/не отправлять пуш нотификацию
force_dnd: Option<bool>
(Default: false) - игнорировать/не игнорировать DND/Mute.
Trait Implementations§
Source§impl Clone for PayloadOptionsNotificationOptions
impl Clone for PayloadOptionsNotificationOptions
Source§fn clone(&self) -> PayloadOptionsNotificationOptions
fn clone(&self) -> PayloadOptionsNotificationOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for PayloadOptionsNotificationOptions
impl Default for PayloadOptionsNotificationOptions
Source§fn default() -> PayloadOptionsNotificationOptions
fn default() -> PayloadOptionsNotificationOptions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PayloadOptionsNotificationOptions
impl<'de> Deserialize<'de> for PayloadOptionsNotificationOptions
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 PayloadOptionsNotificationOptions
impl RefUnwindSafe for PayloadOptionsNotificationOptions
impl Send for PayloadOptionsNotificationOptions
impl Sync for PayloadOptionsNotificationOptions
impl Unpin for PayloadOptionsNotificationOptions
impl UnwindSafe for PayloadOptionsNotificationOptions
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