#[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 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<NotificationChannelBuilder> for NotificationChannelBuilder
impl PartialEq<NotificationChannelBuilder> 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 ==
.