#[non_exhaustive]pub struct EmergencyCallingConfigurationBuilder { /* private fields */ }
Expand description
A builder for EmergencyCallingConfiguration
.
Implementations§
source§impl EmergencyCallingConfigurationBuilder
impl EmergencyCallingConfigurationBuilder
sourcepub fn dnis(self, input: DnisEmergencyCallingConfiguration) -> Self
pub fn dnis(self, input: DnisEmergencyCallingConfiguration) -> Self
Appends an item to dnis
.
To override the contents of this collection use set_dnis
.
The Dialed Number Identification Service (DNIS) emergency calling configuration details.
sourcepub fn set_dnis(
self,
input: Option<Vec<DnisEmergencyCallingConfiguration>>
) -> Self
pub fn set_dnis( self, input: Option<Vec<DnisEmergencyCallingConfiguration>> ) -> Self
The Dialed Number Identification Service (DNIS) emergency calling configuration details.
sourcepub fn get_dnis(&self) -> &Option<Vec<DnisEmergencyCallingConfiguration>>
pub fn get_dnis(&self) -> &Option<Vec<DnisEmergencyCallingConfiguration>>
The Dialed Number Identification Service (DNIS) emergency calling configuration details.
sourcepub fn build(self) -> EmergencyCallingConfiguration
pub fn build(self) -> EmergencyCallingConfiguration
Consumes the builder and constructs a EmergencyCallingConfiguration
.
Trait Implementations§
source§impl Clone for EmergencyCallingConfigurationBuilder
impl Clone for EmergencyCallingConfigurationBuilder
source§fn clone(&self) -> EmergencyCallingConfigurationBuilder
fn clone(&self) -> EmergencyCallingConfigurationBuilder
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 Default for EmergencyCallingConfigurationBuilder
impl Default for EmergencyCallingConfigurationBuilder
source§fn default() -> EmergencyCallingConfigurationBuilder
fn default() -> EmergencyCallingConfigurationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for EmergencyCallingConfigurationBuilder
impl PartialEq for EmergencyCallingConfigurationBuilder
source§fn eq(&self, other: &EmergencyCallingConfigurationBuilder) -> bool
fn eq(&self, other: &EmergencyCallingConfigurationBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EmergencyCallingConfigurationBuilder
Auto Trait Implementations§
impl Freeze for EmergencyCallingConfigurationBuilder
impl RefUnwindSafe for EmergencyCallingConfigurationBuilder
impl Send for EmergencyCallingConfigurationBuilder
impl Sync for EmergencyCallingConfigurationBuilder
impl Unpin for EmergencyCallingConfigurationBuilder
impl UnwindSafe for EmergencyCallingConfigurationBuilder
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.