#[non_exhaustive]pub struct BatchGetDocumentStatusOutput {
pub errors: Option<Vec<BatchGetDocumentStatusResponseError>>,
pub document_status_list: Option<Vec<Status>>,
/* 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.errors: Option<Vec<BatchGetDocumentStatusResponseError>>A list of documents that Amazon Kendra couldn't get the status for. The list includes the ID of the document and the reason that the status couldn't be found.
document_status_list: Option<Vec<Status>>The status of documents. The status indicates if the document is waiting to be indexed, is in the process of indexing, has completed indexing, or failed indexing. If a document failed indexing, the status provides the reason why.
Implementations§
source§impl BatchGetDocumentStatusOutput
impl BatchGetDocumentStatusOutput
sourcepub fn errors(&self) -> &[BatchGetDocumentStatusResponseError]
pub fn errors(&self) -> &[BatchGetDocumentStatusResponseError]
A list of documents that Amazon Kendra couldn't get the status for. The list includes the ID of the document and the reason that the status couldn't be found.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .errors.is_none().
sourcepub fn document_status_list(&self) -> &[Status]
pub fn document_status_list(&self) -> &[Status]
The status of documents. The status indicates if the document is waiting to be indexed, is in the process of indexing, has completed indexing, or failed indexing. If a document failed indexing, the status provides the reason why.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .document_status_list.is_none().
source§impl BatchGetDocumentStatusOutput
impl BatchGetDocumentStatusOutput
sourcepub fn builder() -> BatchGetDocumentStatusOutputBuilder
pub fn builder() -> BatchGetDocumentStatusOutputBuilder
Creates a new builder-style object to manufacture BatchGetDocumentStatusOutput.
Trait Implementations§
source§impl Clone for BatchGetDocumentStatusOutput
impl Clone for BatchGetDocumentStatusOutput
source§fn clone(&self) -> BatchGetDocumentStatusOutput
fn clone(&self) -> BatchGetDocumentStatusOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for BatchGetDocumentStatusOutput
impl Debug for BatchGetDocumentStatusOutput
source§impl PartialEq for BatchGetDocumentStatusOutput
impl PartialEq for BatchGetDocumentStatusOutput
source§fn eq(&self, other: &BatchGetDocumentStatusOutput) -> bool
fn eq(&self, other: &BatchGetDocumentStatusOutput) -> bool
self and other values to be equal, and is used by ==.source§impl RequestId for BatchGetDocumentStatusOutput
impl RequestId for BatchGetDocumentStatusOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None if the service could not be reached.impl StructuralPartialEq for BatchGetDocumentStatusOutput
Auto Trait Implementations§
impl Freeze for BatchGetDocumentStatusOutput
impl RefUnwindSafe for BatchGetDocumentStatusOutput
impl Send for BatchGetDocumentStatusOutput
impl Sync for BatchGetDocumentStatusOutput
impl Unpin for BatchGetDocumentStatusOutput
impl UnwindSafe for BatchGetDocumentStatusOutput
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> 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)
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>
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