Struct aws_sdk_sns::types::SmsSandboxPhoneNumber
source · #[non_exhaustive]pub struct SmsSandboxPhoneNumber {
pub phone_number: Option<String>,
pub status: Option<SmsSandboxPhoneNumberVerificationStatus>,
}Expand description
A verified or pending destination phone number in the SMS sandbox.
When you start using Amazon SNS to send SMS messages, your Amazon Web Services account is in the SMS sandbox. The SMS sandbox provides a safe environment for you to try Amazon SNS features without risking your reputation as an SMS sender. While your Amazon Web Services account is in the SMS sandbox, you can use all of the features of Amazon SNS. However, you can send SMS messages only to verified destination phone numbers. For more information, including how to move out of the sandbox to send messages without restrictions, see SMS sandbox in the Amazon SNS Developer Guide.
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: Option<String>The destination phone number.
status: Option<SmsSandboxPhoneNumberVerificationStatus>The destination phone number's verification status.
Implementations§
source§impl SmsSandboxPhoneNumber
impl SmsSandboxPhoneNumber
sourcepub fn phone_number(&self) -> Option<&str>
pub fn phone_number(&self) -> Option<&str>
The destination phone number.
sourcepub fn status(&self) -> Option<&SmsSandboxPhoneNumberVerificationStatus>
pub fn status(&self) -> Option<&SmsSandboxPhoneNumberVerificationStatus>
The destination phone number's verification status.
source§impl SmsSandboxPhoneNumber
impl SmsSandboxPhoneNumber
sourcepub fn builder() -> SmsSandboxPhoneNumberBuilder
pub fn builder() -> SmsSandboxPhoneNumberBuilder
Creates a new builder-style object to manufacture SmsSandboxPhoneNumber.
Trait Implementations§
source§impl Clone for SmsSandboxPhoneNumber
impl Clone for SmsSandboxPhoneNumber
source§fn clone(&self) -> SmsSandboxPhoneNumber
fn clone(&self) -> SmsSandboxPhoneNumber
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for SmsSandboxPhoneNumber
impl Debug for SmsSandboxPhoneNumber
source§impl PartialEq for SmsSandboxPhoneNumber
impl PartialEq for SmsSandboxPhoneNumber
source§fn eq(&self, other: &SmsSandboxPhoneNumber) -> bool
fn eq(&self, other: &SmsSandboxPhoneNumber) -> bool
self and other values to be equal, and is used
by ==.