pub struct UpdateDocumentParams {
pub collection_name: String,
pub document_id: String,
pub body: Value,
pub dirty_values: Option<DirtyValues>,
}
Expand description
struct for passing parameters to the method [update_document
]
Fields§
§collection_name: String
The name of the collection to search for the document under
document_id: String
The Document ID
body: Value
The document object with fields to be updated
dirty_values: Option<DirtyValues>
Dealing with Dirty Data
Trait Implementations§
Source§impl Clone for UpdateDocumentParams
impl Clone for UpdateDocumentParams
Source§fn clone(&self) -> UpdateDocumentParams
fn clone(&self) -> UpdateDocumentParams
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 UpdateDocumentParams
impl RefUnwindSafe for UpdateDocumentParams
impl Send for UpdateDocumentParams
impl Sync for UpdateDocumentParams
impl Unpin for UpdateDocumentParams
impl UnwindSafe for UpdateDocumentParams
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