pub struct IndexDocumentParams {
pub collection_name: String,
pub body: Value,
pub action: Option<String>,
pub dirty_values: Option<DirtyValues>,
}
Expand description
struct for passing parameters to the method [index_document
]
Fields§
§collection_name: String
The name of the collection to add the document to
body: Value
The document object to be indexed
action: Option<String>
Additional action to perform
dirty_values: Option<DirtyValues>
Dealing with Dirty Data
Trait Implementations§
Source§impl Clone for IndexDocumentParams
impl Clone for IndexDocumentParams
Source§fn clone(&self) -> IndexDocumentParams
fn clone(&self) -> IndexDocumentParams
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for IndexDocumentParams
impl RefUnwindSafe for IndexDocumentParams
impl Send for IndexDocumentParams
impl Sync for IndexDocumentParams
impl Unpin for IndexDocumentParams
impl UnwindSafe for IndexDocumentParams
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