#[non_exhaustive]pub struct GetPhoneNumberOutputBuilder { /* private fields */ }
Expand description
A builder for GetPhoneNumberOutput
.
Implementations§
source§impl GetPhoneNumberOutputBuilder
impl GetPhoneNumberOutputBuilder
sourcepub fn phone_number(self, input: PhoneNumber) -> Self
pub fn phone_number(self, input: PhoneNumber) -> Self
The phone number details.
sourcepub fn set_phone_number(self, input: Option<PhoneNumber>) -> Self
pub fn set_phone_number(self, input: Option<PhoneNumber>) -> Self
The phone number details.
sourcepub fn get_phone_number(&self) -> &Option<PhoneNumber>
pub fn get_phone_number(&self) -> &Option<PhoneNumber>
The phone number details.
sourcepub fn build(self) -> GetPhoneNumberOutput
pub fn build(self) -> GetPhoneNumberOutput
Consumes the builder and constructs a GetPhoneNumberOutput
.
Trait Implementations§
source§impl Clone for GetPhoneNumberOutputBuilder
impl Clone for GetPhoneNumberOutputBuilder
source§fn clone(&self) -> GetPhoneNumberOutputBuilder
fn clone(&self) -> GetPhoneNumberOutputBuilder
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 GetPhoneNumberOutputBuilder
impl Debug for GetPhoneNumberOutputBuilder
source§impl Default for GetPhoneNumberOutputBuilder
impl Default for GetPhoneNumberOutputBuilder
source§fn default() -> GetPhoneNumberOutputBuilder
fn default() -> GetPhoneNumberOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GetPhoneNumberOutputBuilder
impl PartialEq for GetPhoneNumberOutputBuilder
source§fn eq(&self, other: &GetPhoneNumberOutputBuilder) -> bool
fn eq(&self, other: &GetPhoneNumberOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetPhoneNumberOutputBuilder
Auto Trait Implementations§
impl Freeze for GetPhoneNumberOutputBuilder
impl RefUnwindSafe for GetPhoneNumberOutputBuilder
impl Send for GetPhoneNumberOutputBuilder
impl Sync for GetPhoneNumberOutputBuilder
impl Unpin for GetPhoneNumberOutputBuilder
impl UnwindSafe for GetPhoneNumberOutputBuilder
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.