Struct rusoto_chime::Termination
source · [−]pub struct Termination {
pub calling_regions: Option<Vec<String>>,
pub cidr_allowed_list: Option<Vec<String>>,
pub cps_limit: Option<i64>,
pub default_phone_number: Option<String>,
pub disabled: Option<bool>,
}
Expand description
Termination settings enable your SIP hosts to make outbound calls using your Amazon Chime Voice Connector.
Fields
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.
cps_limit: Option<i64>
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.
disabled: Option<bool>
When termination settings are disabled, outbound calls can not be made.
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 Default for Termination
impl Default for Termination
sourcefn default() -> Termination
fn default() -> Termination
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for Termination
impl<'de> Deserialize<'de> for Termination
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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 !=
.
sourceimpl Serialize for Termination
impl Serialize for Termination
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