Struct aws_sdk_chime::model::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
sourceimpl 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) -> Option<&[String]>
pub fn calling_regions(&self) -> Option<&[String]>
The countries to which calls are allowed, in ISO 3166-1 alpha-2 format. Required.
sourceimpl Termination
impl Termination
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture Termination
Trait Implementations
sourceimpl Clone for Termination
impl Clone for Termination
sourcefn clone(&self) -> Termination
fn clone(&self) -> Termination
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for Termination
impl Debug for Termination
sourceimpl PartialEq<Termination> for Termination
impl PartialEq<Termination> for Termination
sourcefn eq(&self, other: &Termination) -> bool
fn eq(&self, other: &Termination) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &Termination) -> bool
fn ne(&self, other: &Termination) -> bool
This method tests for !=
.
impl StructuralPartialEq for Termination
Auto Trait Implementations
impl RefUnwindSafe for Termination
impl Send for Termination
impl Sync for Termination
impl Unpin for Termination
impl UnwindSafe for Termination
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more