Struct aws_sdk_sns::input::OptInPhoneNumberInput
source · #[non_exhaustive]pub struct OptInPhoneNumberInput { /* private fields */ }
Expand description
Input for the OptInPhoneNumber action.
Implementations§
source§impl OptInPhoneNumberInput
impl OptInPhoneNumberInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<OptInPhoneNumber, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<OptInPhoneNumber, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<OptInPhoneNumber
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture OptInPhoneNumberInput
.
source§impl OptInPhoneNumberInput
impl OptInPhoneNumberInput
sourcepub fn phone_number(&self) -> Option<&str>
pub fn phone_number(&self) -> Option<&str>
The phone number to opt in. Use E.164 format.
Trait Implementations§
source§impl Clone for OptInPhoneNumberInput
impl Clone for OptInPhoneNumberInput
source§fn clone(&self) -> OptInPhoneNumberInput
fn clone(&self) -> OptInPhoneNumberInput
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 OptInPhoneNumberInput
impl Debug for OptInPhoneNumberInput
source§impl PartialEq<OptInPhoneNumberInput> for OptInPhoneNumberInput
impl PartialEq<OptInPhoneNumberInput> for OptInPhoneNumberInput
source§fn eq(&self, other: &OptInPhoneNumberInput) -> bool
fn eq(&self, other: &OptInPhoneNumberInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.