Struct aws_sdk_chime::types::SipMediaApplication
source · #[non_exhaustive]pub struct SipMediaApplication {
pub sip_media_application_id: Option<String>,
pub aws_region: Option<String>,
pub name: Option<String>,
pub endpoints: Option<Vec<SipMediaApplicationEndpoint>>,
pub created_timestamp: Option<DateTime>,
pub updated_timestamp: Option<DateTime>,
}
Expand description
The details of the SIP media application, including name and endpoints. An AWS account can have multiple SIP media applications.
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.sip_media_application_id: Option<String>
The SIP media application ID.
aws_region: Option<String>
The AWS Region in which the SIP media application is created.
name: Option<String>
The name of the SIP media application.
endpoints: Option<Vec<SipMediaApplicationEndpoint>>
List of endpoints for SIP media application. Currently, only one endpoint per SIP media application is permitted.
created_timestamp: Option<DateTime>
The SIP media application creation timestamp, in ISO 8601 format.
updated_timestamp: Option<DateTime>
The SIP media application updated timestamp, in ISO 8601 format.
Implementations§
source§impl SipMediaApplication
impl SipMediaApplication
sourcepub fn sip_media_application_id(&self) -> Option<&str>
pub fn sip_media_application_id(&self) -> Option<&str>
The SIP media application ID.
sourcepub fn aws_region(&self) -> Option<&str>
pub fn aws_region(&self) -> Option<&str>
The AWS Region in which the SIP media application is created.
sourcepub fn endpoints(&self) -> &[SipMediaApplicationEndpoint]
pub fn endpoints(&self) -> &[SipMediaApplicationEndpoint]
List of endpoints for SIP media application. Currently, only one endpoint per SIP media application is permitted.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .endpoints.is_none()
.
sourcepub fn created_timestamp(&self) -> Option<&DateTime>
pub fn created_timestamp(&self) -> Option<&DateTime>
The SIP media application creation timestamp, in ISO 8601 format.
sourcepub fn updated_timestamp(&self) -> Option<&DateTime>
pub fn updated_timestamp(&self) -> Option<&DateTime>
The SIP media application updated timestamp, in ISO 8601 format.
source§impl SipMediaApplication
impl SipMediaApplication
sourcepub fn builder() -> SipMediaApplicationBuilder
pub fn builder() -> SipMediaApplicationBuilder
Creates a new builder-style object to manufacture SipMediaApplication
.
Trait Implementations§
source§impl Clone for SipMediaApplication
impl Clone for SipMediaApplication
source§fn clone(&self) -> SipMediaApplication
fn clone(&self) -> SipMediaApplication
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SipMediaApplication
impl Debug for SipMediaApplication
source§impl PartialEq for SipMediaApplication
impl PartialEq for SipMediaApplication
source§fn eq(&self, other: &SipMediaApplication) -> bool
fn eq(&self, other: &SipMediaApplication) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SipMediaApplication
Auto Trait Implementations§
impl Freeze for SipMediaApplication
impl RefUnwindSafe for SipMediaApplication
impl Send for SipMediaApplication
impl Sync for SipMediaApplication
impl Unpin for SipMediaApplication
impl UnwindSafe for SipMediaApplication
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