#[non_exhaustive]pub struct PublishBatchOutputBuilder { /* private fields */ }Expand description
A builder for PublishBatchOutput.
Implementations§
source§impl PublishBatchOutputBuilder
impl PublishBatchOutputBuilder
sourcepub fn successful(self, input: PublishBatchResultEntry) -> Self
pub fn successful(self, input: PublishBatchResultEntry) -> Self
Appends an item to successful.
To override the contents of this collection use set_successful.
A list of successful PublishBatch responses.
sourcepub fn set_successful(self, input: Option<Vec<PublishBatchResultEntry>>) -> Self
pub fn set_successful(self, input: Option<Vec<PublishBatchResultEntry>>) -> Self
A list of successful PublishBatch responses.
sourcepub fn get_successful(&self) -> &Option<Vec<PublishBatchResultEntry>>
pub fn get_successful(&self) -> &Option<Vec<PublishBatchResultEntry>>
A list of successful PublishBatch responses.
sourcepub fn failed(self, input: BatchResultErrorEntry) -> Self
pub fn failed(self, input: BatchResultErrorEntry) -> Self
Appends an item to failed.
To override the contents of this collection use set_failed.
A list of failed PublishBatch responses.
sourcepub fn set_failed(self, input: Option<Vec<BatchResultErrorEntry>>) -> Self
pub fn set_failed(self, input: Option<Vec<BatchResultErrorEntry>>) -> Self
A list of failed PublishBatch responses.
sourcepub fn get_failed(&self) -> &Option<Vec<BatchResultErrorEntry>>
pub fn get_failed(&self) -> &Option<Vec<BatchResultErrorEntry>>
A list of failed PublishBatch responses.
sourcepub fn build(self) -> PublishBatchOutput
pub fn build(self) -> PublishBatchOutput
Consumes the builder and constructs a PublishBatchOutput.
Trait Implementations§
source§impl Clone for PublishBatchOutputBuilder
impl Clone for PublishBatchOutputBuilder
source§fn clone(&self) -> PublishBatchOutputBuilder
fn clone(&self) -> PublishBatchOutputBuilder
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 PublishBatchOutputBuilder
impl Debug for PublishBatchOutputBuilder
source§impl Default for PublishBatchOutputBuilder
impl Default for PublishBatchOutputBuilder
source§fn default() -> PublishBatchOutputBuilder
fn default() -> PublishBatchOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for PublishBatchOutputBuilder
impl PartialEq for PublishBatchOutputBuilder
source§fn eq(&self, other: &PublishBatchOutputBuilder) -> bool
fn eq(&self, other: &PublishBatchOutputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for PublishBatchOutputBuilder
Auto Trait Implementations§
impl Freeze for PublishBatchOutputBuilder
impl RefUnwindSafe for PublishBatchOutputBuilder
impl Send for PublishBatchOutputBuilder
impl Sync for PublishBatchOutputBuilder
impl Unpin for PublishBatchOutputBuilder
impl UnwindSafe for PublishBatchOutputBuilder
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.