Struct aws_sdk_chime::operation::create_sip_media_application_call::CreateSipMediaApplicationCallInput
source · #[non_exhaustive]pub struct CreateSipMediaApplicationCallInput {
pub from_phone_number: Option<String>,
pub to_phone_number: Option<String>,
pub sip_media_application_id: Option<String>,
pub sip_headers: Option<HashMap<String, String>>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.from_phone_number: Option<String>
The phone number that a user calls from. This is a phone number in your Amazon Chime phone number inventory.
to_phone_number: Option<String>
The phone number that the service should call.
sip_media_application_id: Option<String>
The ID of the SIP media application.
sip_headers: Option<HashMap<String, String>>
The SIP headers added to an outbound call leg.
Implementations§
source§impl CreateSipMediaApplicationCallInput
impl CreateSipMediaApplicationCallInput
sourcepub fn from_phone_number(&self) -> Option<&str>
pub fn from_phone_number(&self) -> Option<&str>
The phone number that a user calls from. This is a phone number in your Amazon Chime phone number inventory.
sourcepub fn to_phone_number(&self) -> Option<&str>
pub fn to_phone_number(&self) -> Option<&str>
The phone number that the service should call.
sourcepub fn sip_media_application_id(&self) -> Option<&str>
pub fn sip_media_application_id(&self) -> Option<&str>
The ID of the SIP media application.
source§impl CreateSipMediaApplicationCallInput
impl CreateSipMediaApplicationCallInput
sourcepub fn builder() -> CreateSipMediaApplicationCallInputBuilder
pub fn builder() -> CreateSipMediaApplicationCallInputBuilder
Creates a new builder-style object to manufacture CreateSipMediaApplicationCallInput
.
Trait Implementations§
source§impl Clone for CreateSipMediaApplicationCallInput
impl Clone for CreateSipMediaApplicationCallInput
source§fn clone(&self) -> CreateSipMediaApplicationCallInput
fn clone(&self) -> CreateSipMediaApplicationCallInput
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 PartialEq for CreateSipMediaApplicationCallInput
impl PartialEq for CreateSipMediaApplicationCallInput
source§fn eq(&self, other: &CreateSipMediaApplicationCallInput) -> bool
fn eq(&self, other: &CreateSipMediaApplicationCallInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateSipMediaApplicationCallInput
Auto Trait Implementations§
impl Freeze for CreateSipMediaApplicationCallInput
impl RefUnwindSafe for CreateSipMediaApplicationCallInput
impl Send for CreateSipMediaApplicationCallInput
impl Sync for CreateSipMediaApplicationCallInput
impl Unpin for CreateSipMediaApplicationCallInput
impl UnwindSafe for CreateSipMediaApplicationCallInput
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.