Struct aws_sdk_textract::types::builders::QueriesConfigBuilder
source · #[non_exhaustive]pub struct QueriesConfigBuilder { /* private fields */ }Expand description
A builder for QueriesConfig.
Implementations§
source§impl QueriesConfigBuilder
impl QueriesConfigBuilder
sourcepub fn queries(self, input: Query) -> Self
pub fn queries(self, input: Query) -> Self
Appends an item to queries.
To override the contents of this collection use set_queries.
sourcepub fn set_queries(self, input: Option<Vec<Query>>) -> Self
pub fn set_queries(self, input: Option<Vec<Query>>) -> Self
sourcepub fn get_queries(&self) -> &Option<Vec<Query>>
pub fn get_queries(&self) -> &Option<Vec<Query>>
sourcepub fn build(self) -> Result<QueriesConfig, BuildError>
pub fn build(self) -> Result<QueriesConfig, BuildError>
Consumes the builder and constructs a QueriesConfig.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for QueriesConfigBuilder
impl Clone for QueriesConfigBuilder
source§fn clone(&self) -> QueriesConfigBuilder
fn clone(&self) -> QueriesConfigBuilder
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 QueriesConfigBuilder
impl Debug for QueriesConfigBuilder
source§impl Default for QueriesConfigBuilder
impl Default for QueriesConfigBuilder
source§fn default() -> QueriesConfigBuilder
fn default() -> QueriesConfigBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for QueriesConfigBuilder
impl PartialEq for QueriesConfigBuilder
impl StructuralPartialEq for QueriesConfigBuilder
Auto Trait Implementations§
impl Freeze for QueriesConfigBuilder
impl RefUnwindSafe for QueriesConfigBuilder
impl Send for QueriesConfigBuilder
impl Sync for QueriesConfigBuilder
impl Unpin for QueriesConfigBuilder
impl UnwindSafe for QueriesConfigBuilder
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
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.