pub struct RejectedDocument {
pub index: String,
pub id: String,
pub reason: String,
}Expand description
One document a sink rejected at the item level during a flush.
The names are the destination’s own (e.g. an OpenSearch physical index), for
diagnostics and quarantine records.
Fields§
§index: StringThe destination index the document was bound for.
id: StringThe document’s id within that index (the search engine’s _id).
reason: StringWhy the destination rejected it.
Trait Implementations§
Source§impl Clone for RejectedDocument
impl Clone for RejectedDocument
Source§fn clone(&self) -> RejectedDocument
fn clone(&self) -> RejectedDocument
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for RejectedDocument
impl RefUnwindSafe for RejectedDocument
impl Send for RejectedDocument
impl Sync for RejectedDocument
impl Unpin for RejectedDocument
impl UnsafeUnpin for RejectedDocument
impl UnwindSafe for RejectedDocument
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