#[non_exhaustive]pub struct BatchDeleteDocumentInput {
pub application_id: Option<String>,
pub index_id: Option<String>,
pub documents: Option<Vec<DeleteDocument>>,
pub data_source_sync_id: Option<String>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.application_id: Option<String>The identifier of the Amazon Q application.
index_id: Option<String>The identifier of the Amazon Q index that contains the documents to delete.
documents: Option<Vec<DeleteDocument>>Documents deleted from the Amazon Q index.
data_source_sync_id: Option<String>The identifier of the data source sync during which the documents were deleted.
Implementations§
source§impl BatchDeleteDocumentInput
impl BatchDeleteDocumentInput
sourcepub fn application_id(&self) -> Option<&str>
pub fn application_id(&self) -> Option<&str>
The identifier of the Amazon Q application.
sourcepub fn index_id(&self) -> Option<&str>
pub fn index_id(&self) -> Option<&str>
The identifier of the Amazon Q index that contains the documents to delete.
sourcepub fn documents(&self) -> &[DeleteDocument]
pub fn documents(&self) -> &[DeleteDocument]
Documents deleted from the Amazon Q index.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .documents.is_none().
sourcepub fn data_source_sync_id(&self) -> Option<&str>
pub fn data_source_sync_id(&self) -> Option<&str>
The identifier of the data source sync during which the documents were deleted.
source§impl BatchDeleteDocumentInput
impl BatchDeleteDocumentInput
sourcepub fn builder() -> BatchDeleteDocumentInputBuilder
pub fn builder() -> BatchDeleteDocumentInputBuilder
Creates a new builder-style object to manufacture BatchDeleteDocumentInput.
Trait Implementations§
source§impl Clone for BatchDeleteDocumentInput
impl Clone for BatchDeleteDocumentInput
source§fn clone(&self) -> BatchDeleteDocumentInput
fn clone(&self) -> BatchDeleteDocumentInput
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 BatchDeleteDocumentInput
impl Debug for BatchDeleteDocumentInput
source§impl PartialEq for BatchDeleteDocumentInput
impl PartialEq for BatchDeleteDocumentInput
source§fn eq(&self, other: &BatchDeleteDocumentInput) -> bool
fn eq(&self, other: &BatchDeleteDocumentInput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for BatchDeleteDocumentInput
Auto Trait Implementations§
impl RefUnwindSafe for BatchDeleteDocumentInput
impl Send for BatchDeleteDocumentInput
impl Sync for BatchDeleteDocumentInput
impl Unpin for BatchDeleteDocumentInput
impl UnwindSafe for BatchDeleteDocumentInput
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>
Creates a shared type from an unshared type.