Struct aws_sdk_chime::types::UpdatePhoneNumberRequestItem
source · #[non_exhaustive]pub struct UpdatePhoneNumberRequestItem {
pub phone_number_id: String,
pub product_type: Option<PhoneNumberProductType>,
pub calling_name: Option<String>,
}Expand description
The phone number ID, product type, or calling name fields to update, used with the BatchUpdatePhoneNumber and UpdatePhoneNumber actions.
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: StringThe phone number ID to update.
product_type: Option<PhoneNumberProductType>The product type to update.
calling_name: Option<String>The outbound calling name to update.
Implementations§
source§impl UpdatePhoneNumberRequestItem
impl UpdatePhoneNumberRequestItem
sourcepub fn phone_number_id(&self) -> &str
pub fn phone_number_id(&self) -> &str
The phone number ID to update.
sourcepub fn product_type(&self) -> Option<&PhoneNumberProductType>
pub fn product_type(&self) -> Option<&PhoneNumberProductType>
The product type to update.
sourcepub fn calling_name(&self) -> Option<&str>
pub fn calling_name(&self) -> Option<&str>
The outbound calling name to update.
source§impl UpdatePhoneNumberRequestItem
impl UpdatePhoneNumberRequestItem
sourcepub fn builder() -> UpdatePhoneNumberRequestItemBuilder
pub fn builder() -> UpdatePhoneNumberRequestItemBuilder
Creates a new builder-style object to manufacture UpdatePhoneNumberRequestItem.
Trait Implementations§
source§impl Clone for UpdatePhoneNumberRequestItem
impl Clone for UpdatePhoneNumberRequestItem
source§fn clone(&self) -> UpdatePhoneNumberRequestItem
fn clone(&self) -> UpdatePhoneNumberRequestItem
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 UpdatePhoneNumberRequestItem
impl Debug for UpdatePhoneNumberRequestItem
source§impl PartialEq for UpdatePhoneNumberRequestItem
impl PartialEq for UpdatePhoneNumberRequestItem
source§fn eq(&self, other: &UpdatePhoneNumberRequestItem) -> bool
fn eq(&self, other: &UpdatePhoneNumberRequestItem) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UpdatePhoneNumberRequestItem
Auto Trait Implementations§
impl RefUnwindSafe for UpdatePhoneNumberRequestItem
impl Send for UpdatePhoneNumberRequestItem
impl Sync for UpdatePhoneNumberRequestItem
impl Unpin for UpdatePhoneNumberRequestItem
impl UnwindSafe for UpdatePhoneNumberRequestItem
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.