Struct aws_sdk_chime::types::PhoneNumberOrder
source · #[non_exhaustive]pub struct PhoneNumberOrder {
pub phone_number_order_id: Option<String>,
pub product_type: Option<PhoneNumberProductType>,
pub status: Option<PhoneNumberOrderStatus>,
pub ordered_phone_numbers: Option<Vec<OrderedPhoneNumber>>,
pub created_timestamp: Option<DateTime>,
pub updated_timestamp: Option<DateTime>,
}
Expand description
The details of a phone number order created for Amazon Chime.
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.phone_number_order_id: Option<String>
The phone number order ID.
product_type: Option<PhoneNumberProductType>
The phone number order product type.
status: Option<PhoneNumberOrderStatus>
The status of the phone number order.
ordered_phone_numbers: Option<Vec<OrderedPhoneNumber>>
The ordered phone number details, such as the phone number in E.164 format and the phone number status.
created_timestamp: Option<DateTime>
The phone number order creation time stamp, in ISO 8601 format.
updated_timestamp: Option<DateTime>
The updated phone number order time stamp, in ISO 8601 format.
Implementations§
source§impl PhoneNumberOrder
impl PhoneNumberOrder
sourcepub fn phone_number_order_id(&self) -> Option<&str>
pub fn phone_number_order_id(&self) -> Option<&str>
The phone number order ID.
sourcepub fn product_type(&self) -> Option<&PhoneNumberProductType>
pub fn product_type(&self) -> Option<&PhoneNumberProductType>
The phone number order product type.
sourcepub fn status(&self) -> Option<&PhoneNumberOrderStatus>
pub fn status(&self) -> Option<&PhoneNumberOrderStatus>
The status of the phone number order.
sourcepub fn ordered_phone_numbers(&self) -> &[OrderedPhoneNumber]
pub fn ordered_phone_numbers(&self) -> &[OrderedPhoneNumber]
The ordered phone number details, such as the phone number in E.164 format and the phone number status.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .ordered_phone_numbers.is_none()
.
sourcepub fn created_timestamp(&self) -> Option<&DateTime>
pub fn created_timestamp(&self) -> Option<&DateTime>
The phone number order creation time stamp, in ISO 8601 format.
sourcepub fn updated_timestamp(&self) -> Option<&DateTime>
pub fn updated_timestamp(&self) -> Option<&DateTime>
The updated phone number order time stamp, in ISO 8601 format.
source§impl PhoneNumberOrder
impl PhoneNumberOrder
sourcepub fn builder() -> PhoneNumberOrderBuilder
pub fn builder() -> PhoneNumberOrderBuilder
Creates a new builder-style object to manufacture PhoneNumberOrder
.
Trait Implementations§
source§impl Clone for PhoneNumberOrder
impl Clone for PhoneNumberOrder
source§fn clone(&self) -> PhoneNumberOrder
fn clone(&self) -> PhoneNumberOrder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PhoneNumberOrder
impl Debug for PhoneNumberOrder
source§impl PartialEq for PhoneNumberOrder
impl PartialEq for PhoneNumberOrder
source§fn eq(&self, other: &PhoneNumberOrder) -> bool
fn eq(&self, other: &PhoneNumberOrder) -> bool
self
and other
values to be equal, and is used
by ==
.