Struct aws_sdk_rekognition::operation::detect_custom_labels::builders::DetectCustomLabelsOutputBuilder
source · #[non_exhaustive]pub struct DetectCustomLabelsOutputBuilder { /* private fields */ }Expand description
A builder for DetectCustomLabelsOutput.
Implementations§
source§impl DetectCustomLabelsOutputBuilder
impl DetectCustomLabelsOutputBuilder
sourcepub fn custom_labels(self, input: CustomLabel) -> Self
pub fn custom_labels(self, input: CustomLabel) -> Self
Appends an item to custom_labels.
To override the contents of this collection use set_custom_labels.
An array of custom labels detected in the input image.
sourcepub fn set_custom_labels(self, input: Option<Vec<CustomLabel>>) -> Self
pub fn set_custom_labels(self, input: Option<Vec<CustomLabel>>) -> Self
An array of custom labels detected in the input image.
sourcepub fn get_custom_labels(&self) -> &Option<Vec<CustomLabel>>
pub fn get_custom_labels(&self) -> &Option<Vec<CustomLabel>>
An array of custom labels detected in the input image.
sourcepub fn build(self) -> DetectCustomLabelsOutput
pub fn build(self) -> DetectCustomLabelsOutput
Consumes the builder and constructs a DetectCustomLabelsOutput.
Trait Implementations§
source§impl Clone for DetectCustomLabelsOutputBuilder
impl Clone for DetectCustomLabelsOutputBuilder
source§fn clone(&self) -> DetectCustomLabelsOutputBuilder
fn clone(&self) -> DetectCustomLabelsOutputBuilder
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 Default for DetectCustomLabelsOutputBuilder
impl Default for DetectCustomLabelsOutputBuilder
source§fn default() -> DetectCustomLabelsOutputBuilder
fn default() -> DetectCustomLabelsOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DetectCustomLabelsOutputBuilder
impl PartialEq for DetectCustomLabelsOutputBuilder
source§fn eq(&self, other: &DetectCustomLabelsOutputBuilder) -> bool
fn eq(&self, other: &DetectCustomLabelsOutputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DetectCustomLabelsOutputBuilder
Auto Trait Implementations§
impl Freeze for DetectCustomLabelsOutputBuilder
impl RefUnwindSafe for DetectCustomLabelsOutputBuilder
impl Send for DetectCustomLabelsOutputBuilder
impl Sync for DetectCustomLabelsOutputBuilder
impl Unpin for DetectCustomLabelsOutputBuilder
impl UnwindSafe for DetectCustomLabelsOutputBuilder
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.