pub struct PayloadOptionsNotificationOptionsBuilder { /* private fields */ }Expand description
Builder for PayloadOptionsNotificationOptions.
Implementations§
source§impl PayloadOptionsNotificationOptionsBuilder
 
impl PayloadOptionsNotificationOptionsBuilder
sourcepub fn with_send<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
 
pub fn with_send<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
(Default: true) - отправлять/не отправлять пуш нотификацию
sourcepub fn with_force_dnd<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
 
pub fn with_force_dnd<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
(Default: false) - игнорировать/не игнорировать DND/Mute.
sourcepub fn build(
    &self
) -> Result<PayloadOptionsNotificationOptions, PayloadOptionsNotificationOptionsBuilderError>
 
pub fn build( &self ) -> Result<PayloadOptionsNotificationOptions, PayloadOptionsNotificationOptionsBuilderError>
Builds a new PayloadOptionsNotificationOptions.
Errors
If a required field has not been initialized.
Trait Implementations§
source§impl Clone for PayloadOptionsNotificationOptionsBuilder
 
impl Clone for PayloadOptionsNotificationOptionsBuilder
source§fn clone(&self) -> PayloadOptionsNotificationOptionsBuilder
 
fn clone(&self) -> PayloadOptionsNotificationOptionsBuilder
Returns a copy 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 moreAuto Trait Implementations§
impl RefUnwindSafe for PayloadOptionsNotificationOptionsBuilder
impl Send for PayloadOptionsNotificationOptionsBuilder
impl Sync for PayloadOptionsNotificationOptionsBuilder
impl Unpin for PayloadOptionsNotificationOptionsBuilder
impl UnwindSafe for PayloadOptionsNotificationOptionsBuilder
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