pub struct UpdateDocumentsParams {
pub collection_name: String,
pub body: Value,
pub filter_by: Option<String>,
}
Expand description
struct for passing parameters to the method [update_documents
]
Fields§
§collection_name: String
The name of the collection to update documents in
body: Value
The document fields to be updated
filter_by: Option<String>
Trait Implementations§
Source§impl Clone for UpdateDocumentsParams
impl Clone for UpdateDocumentsParams
Source§fn clone(&self) -> UpdateDocumentsParams
fn clone(&self) -> UpdateDocumentsParams
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 UpdateDocumentsParams
impl RefUnwindSafe for UpdateDocumentsParams
impl Send for UpdateDocumentsParams
impl Sync for UpdateDocumentsParams
impl Unpin for UpdateDocumentsParams
impl UnwindSafe for UpdateDocumentsParams
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