Struct aws_sdk_comprehend::operation::batch_detect_dominant_language::BatchDetectDominantLanguageOutput
source · #[non_exhaustive]pub struct BatchDetectDominantLanguageOutput {
pub result_list: Vec<BatchDetectDominantLanguageItemResult>,
pub error_list: Vec<BatchItemError>,
/* private fields */
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.result_list: Vec<BatchDetectDominantLanguageItemResult>A list of objects containing the results of the operation. The results are sorted in ascending order by the Index field and match the order of the documents in the input list. If all of the documents contain an error, the ResultList is empty.
error_list: Vec<BatchItemError>A list containing one object for each document that contained an error. The results are sorted in ascending order by the Index field and match the order of the documents in the input list. If there are no errors in the batch, the ErrorList is empty.
Implementations§
source§impl BatchDetectDominantLanguageOutput
impl BatchDetectDominantLanguageOutput
sourcepub fn result_list(&self) -> &[BatchDetectDominantLanguageItemResult]
pub fn result_list(&self) -> &[BatchDetectDominantLanguageItemResult]
A list of objects containing the results of the operation. The results are sorted in ascending order by the Index field and match the order of the documents in the input list. If all of the documents contain an error, the ResultList is empty.
sourcepub fn error_list(&self) -> &[BatchItemError]
pub fn error_list(&self) -> &[BatchItemError]
A list containing one object for each document that contained an error. The results are sorted in ascending order by the Index field and match the order of the documents in the input list. If there are no errors in the batch, the ErrorList is empty.
source§impl BatchDetectDominantLanguageOutput
impl BatchDetectDominantLanguageOutput
sourcepub fn builder() -> BatchDetectDominantLanguageOutputBuilder
pub fn builder() -> BatchDetectDominantLanguageOutputBuilder
Creates a new builder-style object to manufacture BatchDetectDominantLanguageOutput.
Trait Implementations§
source§impl Clone for BatchDetectDominantLanguageOutput
impl Clone for BatchDetectDominantLanguageOutput
source§fn clone(&self) -> BatchDetectDominantLanguageOutput
fn clone(&self) -> BatchDetectDominantLanguageOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for BatchDetectDominantLanguageOutput
impl PartialEq for BatchDetectDominantLanguageOutput
source§fn eq(&self, other: &BatchDetectDominantLanguageOutput) -> bool
fn eq(&self, other: &BatchDetectDominantLanguageOutput) -> bool
self and other values to be equal, and is used
by ==.source§impl RequestId for BatchDetectDominantLanguageOutput
impl RequestId for BatchDetectDominantLanguageOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None if the service could not be reached.impl StructuralPartialEq for BatchDetectDominantLanguageOutput
Auto Trait Implementations§
impl Freeze for BatchDetectDominantLanguageOutput
impl RefUnwindSafe for BatchDetectDominantLanguageOutput
impl Send for BatchDetectDominantLanguageOutput
impl Sync for BatchDetectDominantLanguageOutput
impl Unpin for BatchDetectDominantLanguageOutput
impl UnwindSafe for BatchDetectDominantLanguageOutput
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
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>
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>
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 more