Struct aws_sdk_rekognition::types::builders::ValidationDataBuilder
source · #[non_exhaustive]pub struct ValidationDataBuilder { /* private fields */ }Expand description
A builder for ValidationData.
Implementations§
source§impl ValidationDataBuilder
impl ValidationDataBuilder
sourcepub fn assets(self, input: Asset) -> Self
pub fn assets(self, input: Asset) -> Self
Appends an item to assets.
To override the contents of this collection use set_assets.
The assets that comprise the validation data.
sourcepub fn set_assets(self, input: Option<Vec<Asset>>) -> Self
pub fn set_assets(self, input: Option<Vec<Asset>>) -> Self
The assets that comprise the validation data.
sourcepub fn get_assets(&self) -> &Option<Vec<Asset>>
pub fn get_assets(&self) -> &Option<Vec<Asset>>
The assets that comprise the validation data.
sourcepub fn build(self) -> ValidationData
pub fn build(self) -> ValidationData
Consumes the builder and constructs a ValidationData.
Trait Implementations§
source§impl Clone for ValidationDataBuilder
impl Clone for ValidationDataBuilder
source§fn clone(&self) -> ValidationDataBuilder
fn clone(&self) -> ValidationDataBuilder
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 ValidationDataBuilder
impl Debug for ValidationDataBuilder
source§impl Default for ValidationDataBuilder
impl Default for ValidationDataBuilder
source§fn default() -> ValidationDataBuilder
fn default() -> ValidationDataBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ValidationDataBuilder
impl PartialEq for ValidationDataBuilder
source§fn eq(&self, other: &ValidationDataBuilder) -> bool
fn eq(&self, other: &ValidationDataBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ValidationDataBuilder
Auto Trait Implementations§
impl Freeze for ValidationDataBuilder
impl RefUnwindSafe for ValidationDataBuilder
impl Send for ValidationDataBuilder
impl Sync for ValidationDataBuilder
impl Unpin for ValidationDataBuilder
impl UnwindSafe for ValidationDataBuilder
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.