#[non_exhaustive]pub struct BatchGetImageOutputBuilder { /* private fields */ }Expand description
A builder for BatchGetImageOutput.
Implementations§
source§impl BatchGetImageOutputBuilder
impl BatchGetImageOutputBuilder
sourcepub fn images(self, input: Image) -> Self
pub fn images(self, input: Image) -> Self
Appends an item to images.
To override the contents of this collection use set_images.
A list of image objects corresponding to the image references in the request.
sourcepub fn set_images(self, input: Option<Vec<Image>>) -> Self
pub fn set_images(self, input: Option<Vec<Image>>) -> Self
A list of image objects corresponding to the image references in the request.
sourcepub fn get_images(&self) -> &Option<Vec<Image>>
pub fn get_images(&self) -> &Option<Vec<Image>>
A list of image objects corresponding to the image references in the request.
sourcepub fn failures(self, input: ImageFailure) -> Self
pub fn failures(self, input: ImageFailure) -> Self
Appends an item to failures.
To override the contents of this collection use set_failures.
Any failures associated with the call.
sourcepub fn set_failures(self, input: Option<Vec<ImageFailure>>) -> Self
pub fn set_failures(self, input: Option<Vec<ImageFailure>>) -> Self
Any failures associated with the call.
sourcepub fn get_failures(&self) -> &Option<Vec<ImageFailure>>
pub fn get_failures(&self) -> &Option<Vec<ImageFailure>>
Any failures associated with the call.
sourcepub fn build(self) -> BatchGetImageOutput
pub fn build(self) -> BatchGetImageOutput
Consumes the builder and constructs a BatchGetImageOutput.
Trait Implementations§
source§impl Clone for BatchGetImageOutputBuilder
impl Clone for BatchGetImageOutputBuilder
source§fn clone(&self) -> BatchGetImageOutputBuilder
fn clone(&self) -> BatchGetImageOutputBuilder
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 BatchGetImageOutputBuilder
impl Debug for BatchGetImageOutputBuilder
source§impl Default for BatchGetImageOutputBuilder
impl Default for BatchGetImageOutputBuilder
source§fn default() -> BatchGetImageOutputBuilder
fn default() -> BatchGetImageOutputBuilder
Returns the “default value” for a type. Read more
impl StructuralPartialEq for BatchGetImageOutputBuilder
Auto Trait Implementations§
impl Freeze for BatchGetImageOutputBuilder
impl RefUnwindSafe for BatchGetImageOutputBuilder
impl Send for BatchGetImageOutputBuilder
impl Sync for BatchGetImageOutputBuilder
impl Unpin for BatchGetImageOutputBuilder
impl UnwindSafe for BatchGetImageOutputBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)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.