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 ==.impl StructuralPartialEq for PhoneNumberOrder
Auto Trait Implementations§
impl Freeze for PhoneNumberOrder
impl RefUnwindSafe for PhoneNumberOrder
impl Send for PhoneNumberOrder
impl Sync for PhoneNumberOrder
impl Unpin for PhoneNumberOrder
impl UnwindSafe for PhoneNumberOrder
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