#[non_exhaustive]pub struct NotificationChannelBuilder { /* private fields */ }Expand description
A builder for NotificationChannel.
Implementations§
source§impl NotificationChannelBuilder
 
impl NotificationChannelBuilder
sourcepub fn config(self, input: NotificationChannelConfig) -> Self
 
pub fn config(self, input: NotificationChannelConfig) -> Self
 A NotificationChannelConfig object that contains information about configured notification channels. 
sourcepub fn set_config(self, input: Option<NotificationChannelConfig>) -> Self
 
pub fn set_config(self, input: Option<NotificationChannelConfig>) -> Self
 A NotificationChannelConfig object that contains information about configured notification channels. 
sourcepub fn get_config(&self) -> &Option<NotificationChannelConfig>
 
pub fn get_config(&self) -> &Option<NotificationChannelConfig>
 A NotificationChannelConfig object that contains information about configured notification channels. 
sourcepub fn build(self) -> NotificationChannel
 
pub fn build(self) -> NotificationChannel
Consumes the builder and constructs a NotificationChannel.
Trait Implementations§
source§impl Clone for NotificationChannelBuilder
 
impl Clone for NotificationChannelBuilder
source§fn clone(&self) -> NotificationChannelBuilder
 
fn clone(&self) -> NotificationChannelBuilder
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 moresource§impl Debug for NotificationChannelBuilder
 
impl Debug for NotificationChannelBuilder
source§impl Default for NotificationChannelBuilder
 
impl Default for NotificationChannelBuilder
source§fn default() -> NotificationChannelBuilder
 
fn default() -> NotificationChannelBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for NotificationChannelBuilder
 
impl PartialEq for NotificationChannelBuilder
source§fn eq(&self, other: &NotificationChannelBuilder) -> bool
 
fn eq(&self, other: &NotificationChannelBuilder) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for NotificationChannelBuilder
Auto Trait Implementations§
impl RefUnwindSafe for NotificationChannelBuilder
impl Send for NotificationChannelBuilder
impl Sync for NotificationChannelBuilder
impl Unpin for NotificationChannelBuilder
impl UnwindSafe for NotificationChannelBuilder
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> Instrument for T
 
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
 
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
 
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.