pub struct GetDocumentParams {
pub collection_name: String,
pub document_id: String,
}
Expand description
struct for passing parameters to the method [get_document
]
Fields§
§collection_name: String
The name of the collection to search for the document under
document_id: String
The Document ID
Trait Implementations§
Source§impl Clone for GetDocumentParams
impl Clone for GetDocumentParams
Source§fn clone(&self) -> GetDocumentParams
fn clone(&self) -> GetDocumentParams
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 GetDocumentParams
impl RefUnwindSafe for GetDocumentParams
impl Send for GetDocumentParams
impl Sync for GetDocumentParams
impl Unpin for GetDocumentParams
impl UnwindSafe for GetDocumentParams
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