#[non_exhaustive]pub struct GetSmsAttributesInput {
pub attributes: Option<Vec<String>>,
}
Expand description
The input for the GetSMSAttributes
request.
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.attributes: Option<Vec<String>>
A list of the individual attribute names, such as MonthlySpendLimit
, for which you want values.
For all attribute names, see SetSMSAttributes.
If you don't use this parameter, Amazon SNS returns all SMS attributes.
Implementations§
source§impl GetSmsAttributesInput
impl GetSmsAttributesInput
sourcepub fn attributes(&self) -> &[String]
pub fn attributes(&self) -> &[String]
A list of the individual attribute names, such as MonthlySpendLimit
, for which you want values.
For all attribute names, see SetSMSAttributes.
If you don't use this parameter, Amazon SNS returns all SMS attributes.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .attributes.is_none()
.
source§impl GetSmsAttributesInput
impl GetSmsAttributesInput
sourcepub fn builder() -> GetSmsAttributesInputBuilder
pub fn builder() -> GetSmsAttributesInputBuilder
Creates a new builder-style object to manufacture GetSmsAttributesInput
.
Trait Implementations§
source§impl Clone for GetSmsAttributesInput
impl Clone for GetSmsAttributesInput
source§fn clone(&self) -> GetSmsAttributesInput
fn clone(&self) -> GetSmsAttributesInput
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 GetSmsAttributesInput
impl Debug for GetSmsAttributesInput
source§impl PartialEq for GetSmsAttributesInput
impl PartialEq for GetSmsAttributesInput
source§fn eq(&self, other: &GetSmsAttributesInput) -> bool
fn eq(&self, other: &GetSmsAttributesInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetSmsAttributesInput
Auto Trait Implementations§
impl Freeze for GetSmsAttributesInput
impl RefUnwindSafe for GetSmsAttributesInput
impl Send for GetSmsAttributesInput
impl Sync for GetSmsAttributesInput
impl Unpin for GetSmsAttributesInput
impl UnwindSafe for GetSmsAttributesInput
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.