Struct aws_sdk_sns::operation::publish_batch::PublishBatchOutput
source · #[non_exhaustive]pub struct PublishBatchOutput {
pub successful: Option<Vec<PublishBatchResultEntry>>,
pub failed: Option<Vec<BatchResultErrorEntry>>,
/* private fields */
}
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.successful: Option<Vec<PublishBatchResultEntry>>
A list of successful PublishBatch
responses.
failed: Option<Vec<BatchResultErrorEntry>>
A list of failed PublishBatch
responses.
Implementations§
source§impl PublishBatchOutput
impl PublishBatchOutput
sourcepub fn successful(&self) -> &[PublishBatchResultEntry]
pub fn successful(&self) -> &[PublishBatchResultEntry]
A list of successful PublishBatch
responses.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .successful.is_none()
.
sourcepub fn failed(&self) -> &[BatchResultErrorEntry]
pub fn failed(&self) -> &[BatchResultErrorEntry]
A list of failed PublishBatch
responses.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .failed.is_none()
.
source§impl PublishBatchOutput
impl PublishBatchOutput
sourcepub fn builder() -> PublishBatchOutputBuilder
pub fn builder() -> PublishBatchOutputBuilder
Creates a new builder-style object to manufacture PublishBatchOutput
.
Trait Implementations§
source§impl Clone for PublishBatchOutput
impl Clone for PublishBatchOutput
source§fn clone(&self) -> PublishBatchOutput
fn clone(&self) -> PublishBatchOutput
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 PublishBatchOutput
impl Debug for PublishBatchOutput
source§impl PartialEq for PublishBatchOutput
impl PartialEq for PublishBatchOutput
source§fn eq(&self, other: &PublishBatchOutput) -> bool
fn eq(&self, other: &PublishBatchOutput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for PublishBatchOutput
impl RequestId for PublishBatchOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
Returns the request ID, or
None
if the service could not be reached.impl StructuralPartialEq for PublishBatchOutput
Auto Trait Implementations§
impl RefUnwindSafe for PublishBatchOutput
impl Send for PublishBatchOutput
impl Sync for PublishBatchOutput
impl Unpin for PublishBatchOutput
impl UnwindSafe for PublishBatchOutput
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.