Struct aws_sdk_sns::operation::publish_batch::PublishBatchInput
source · #[non_exhaustive]pub struct PublishBatchInput {
pub topic_arn: Option<String>,
pub publish_batch_request_entries: Option<Vec<PublishBatchRequestEntry>>,
}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.topic_arn: Option<String>The Amazon resource name (ARN) of the topic you want to batch publish to.
publish_batch_request_entries: Option<Vec<PublishBatchRequestEntry>>A list of PublishBatch request entries to be sent to the SNS topic.
Implementations§
source§impl PublishBatchInput
impl PublishBatchInput
sourcepub fn topic_arn(&self) -> Option<&str>
pub fn topic_arn(&self) -> Option<&str>
The Amazon resource name (ARN) of the topic you want to batch publish to.
sourcepub fn publish_batch_request_entries(&self) -> &[PublishBatchRequestEntry]
pub fn publish_batch_request_entries(&self) -> &[PublishBatchRequestEntry]
A list of PublishBatch request entries to be sent to the SNS topic.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .publish_batch_request_entries.is_none().
source§impl PublishBatchInput
impl PublishBatchInput
sourcepub fn builder() -> PublishBatchInputBuilder
pub fn builder() -> PublishBatchInputBuilder
Creates a new builder-style object to manufacture PublishBatchInput.
Trait Implementations§
source§impl Clone for PublishBatchInput
impl Clone for PublishBatchInput
source§fn clone(&self) -> PublishBatchInput
fn clone(&self) -> PublishBatchInput
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 PublishBatchInput
impl Debug for PublishBatchInput
source§impl PartialEq for PublishBatchInput
impl PartialEq for PublishBatchInput
source§fn eq(&self, other: &PublishBatchInput) -> bool
fn eq(&self, other: &PublishBatchInput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for PublishBatchInput
Auto Trait Implementations§
impl RefUnwindSafe for PublishBatchInput
impl Send for PublishBatchInput
impl Sync for PublishBatchInput
impl Unpin for PublishBatchInput
impl UnwindSafe for PublishBatchInput
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.