Struct aws_sdk_chime::types::Origination
source · #[non_exhaustive]pub struct Origination {
pub routes: Option<Vec<OriginationRoute>>,
pub disabled: Option<bool>,
}
Expand description
Origination settings enable your SIP hosts to receive inbound calls using your Amazon Chime Voice Connector.
The parameters listed below are not required, but you must use at least one.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.routes: Option<Vec<OriginationRoute>>
The call distribution properties defined for your SIP hosts. Valid range: Minimum value of 1. Maximum value of 20. This parameter is not required, but you must specify this parameter or Disabled
.
disabled: Option<bool>
When origination settings are disabled, inbound calls are not enabled for your Amazon Chime Voice Connector. This parameter is not required, but you must specify this parameter or Routes
.
Implementations§
source§impl Origination
impl Origination
sourcepub fn routes(&self) -> &[OriginationRoute]
pub fn routes(&self) -> &[OriginationRoute]
The call distribution properties defined for your SIP hosts. Valid range: Minimum value of 1. Maximum value of 20. This parameter is not required, but you must specify this parameter or Disabled
.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .routes.is_none()
.
source§impl Origination
impl Origination
sourcepub fn builder() -> OriginationBuilder
pub fn builder() -> OriginationBuilder
Creates a new builder-style object to manufacture Origination
.
Trait Implementations§
source§impl Clone for Origination
impl Clone for Origination
source§fn clone(&self) -> Origination
fn clone(&self) -> Origination
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for Origination
impl Debug for Origination
source§impl PartialEq for Origination
impl PartialEq for Origination
source§fn eq(&self, other: &Origination) -> bool
fn eq(&self, other: &Origination) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for Origination
Auto Trait Implementations§
impl Freeze for Origination
impl RefUnwindSafe for Origination
impl Send for Origination
impl Sync for Origination
impl Unpin for Origination
impl UnwindSafe for Origination
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
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>
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>
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 more