Struct aws_sdk_chime::model::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
sourceimpl 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) -> Option<&[OrderedPhoneNumber]>
pub fn ordered_phone_numbers(&self) -> Option<&[OrderedPhoneNumber]>
The ordered phone number details, such as the phone number in E.164 format and the phone number status.
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.
sourceimpl PhoneNumberOrder
impl PhoneNumberOrder
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture PhoneNumberOrder
Trait Implementations
sourceimpl Clone for PhoneNumberOrder
impl Clone for PhoneNumberOrder
sourcefn clone(&self) -> PhoneNumberOrder
fn clone(&self) -> PhoneNumberOrder
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 PhoneNumberOrder
impl Debug for PhoneNumberOrder
sourceimpl PartialEq<PhoneNumberOrder> for PhoneNumberOrder
impl PartialEq<PhoneNumberOrder> for PhoneNumberOrder
sourcefn eq(&self, other: &PhoneNumberOrder) -> bool
fn eq(&self, other: &PhoneNumberOrder) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &PhoneNumberOrder) -> bool
fn ne(&self, other: &PhoneNumberOrder) -> bool
This method tests for !=
.
impl StructuralPartialEq for PhoneNumberOrder
Auto Trait Implementations
impl RefUnwindSafe for PhoneNumberOrder
impl Send for PhoneNumberOrder
impl Sync for PhoneNumberOrder
impl Unpin for PhoneNumberOrder
impl UnwindSafe for PhoneNumberOrder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub 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.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub 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