#[non_exhaustive]pub struct UpdatePhoneNumberInput {
pub phone_number_id: Option<String>,
pub product_type: Option<PhoneNumberProductType>,
pub calling_name: Option<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.phone_number_id: Option<String>
The phone number ID.
product_type: Option<PhoneNumberProductType>
The product type.
calling_name: Option<String>
The outbound calling name associated with the phone number.
Implementations§
source§impl UpdatePhoneNumberInput
impl UpdatePhoneNumberInput
sourcepub fn phone_number_id(&self) -> Option<&str>
pub fn phone_number_id(&self) -> Option<&str>
The phone number ID.
sourcepub fn product_type(&self) -> Option<&PhoneNumberProductType>
pub fn product_type(&self) -> Option<&PhoneNumberProductType>
The product type.
sourcepub fn calling_name(&self) -> Option<&str>
pub fn calling_name(&self) -> Option<&str>
The outbound calling name associated with the phone number.
source§impl UpdatePhoneNumberInput
impl UpdatePhoneNumberInput
sourcepub fn builder() -> UpdatePhoneNumberInputBuilder
pub fn builder() -> UpdatePhoneNumberInputBuilder
Creates a new builder-style object to manufacture UpdatePhoneNumberInput
.
Trait Implementations§
source§impl Clone for UpdatePhoneNumberInput
impl Clone for UpdatePhoneNumberInput
source§fn clone(&self) -> UpdatePhoneNumberInput
fn clone(&self) -> UpdatePhoneNumberInput
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 Debug for UpdatePhoneNumberInput
impl Debug for UpdatePhoneNumberInput
source§impl PartialEq for UpdatePhoneNumberInput
impl PartialEq for UpdatePhoneNumberInput
source§fn eq(&self, other: &UpdatePhoneNumberInput) -> bool
fn eq(&self, other: &UpdatePhoneNumberInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdatePhoneNumberInput
Auto Trait Implementations§
impl Freeze for UpdatePhoneNumberInput
impl RefUnwindSafe for UpdatePhoneNumberInput
impl Send for UpdatePhoneNumberInput
impl Sync for UpdatePhoneNumberInput
impl Unpin for UpdatePhoneNumberInput
impl UnwindSafe for UpdatePhoneNumberInput
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>
Creates a shared type from an unshared type.