Struct aws_sdk_chime::types::Termination
source · #[non_exhaustive]pub struct Termination {
pub cps_limit: Option<i32>,
pub default_phone_number: Option<String>,
pub calling_regions: Option<Vec<String>>,
pub cidr_allowed_list: Option<Vec<String>>,
pub disabled: Option<bool>,
}
Expand description
Termination settings enable your SIP hosts to make outbound calls using your Amazon Chime Voice Connector.
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.cps_limit: Option<i32>
The limit on calls per second. Max value based on account service quota. Default value of 1.
default_phone_number: Option<String>
The default caller ID phone number.
calling_regions: Option<Vec<String>>
The countries to which calls are allowed, in ISO 3166-1 alpha-2 format. Required.
cidr_allowed_list: Option<Vec<String>>
The IP addresses allowed to make calls, in CIDR format. Required.
disabled: Option<bool>
When termination settings are disabled, outbound calls can not be made.
Implementations§
source§impl Termination
impl Termination
sourcepub fn cps_limit(&self) -> Option<i32>
pub fn cps_limit(&self) -> Option<i32>
The limit on calls per second. Max value based on account service quota. Default value of 1.
sourcepub fn default_phone_number(&self) -> Option<&str>
pub fn default_phone_number(&self) -> Option<&str>
The default caller ID phone number.
sourcepub fn calling_regions(&self) -> &[String]
pub fn calling_regions(&self) -> &[String]
The countries to which calls are allowed, in ISO 3166-1 alpha-2 format. Required.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .calling_regions.is_none()
.
sourcepub fn cidr_allowed_list(&self) -> &[String]
pub fn cidr_allowed_list(&self) -> &[String]
The IP addresses allowed to make calls, in CIDR format. Required.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .cidr_allowed_list.is_none()
.
source§impl Termination
impl Termination
sourcepub fn builder() -> TerminationBuilder
pub fn builder() -> TerminationBuilder
Creates a new builder-style object to manufacture Termination
.
Trait Implementations§
source§impl Clone for Termination
impl Clone for Termination
source§fn clone(&self) -> Termination
fn clone(&self) -> Termination
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for Termination
impl Debug for Termination
source§impl PartialEq for Termination
impl PartialEq for Termination
source§fn eq(&self, other: &Termination) -> bool
fn eq(&self, other: &Termination) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for Termination
Auto Trait Implementations§
impl Freeze for Termination
impl RefUnwindSafe for Termination
impl Send for Termination
impl Sync for Termination
impl Unpin for Termination
impl UnwindSafe for Termination
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