pub struct DocumentReferenceBatch {
pub documents: Vec<DocumentReference>,
}Expand description
Represents a batch (collection in the form of a Vec) of
DocumentReferences.
This struct is particularly useful for scanning, as it allows one function call to take many different document references. It also enables ‘processing groups’—i.e. groups of documents that will always be processed together in the same thread.
Fields§
§documents: Vec<DocumentReference>Contains the DocumentReferences
Trait Implementations§
Source§impl From<Vec<DocumentReference>> for DocumentReferenceBatch
impl From<Vec<DocumentReference>> for DocumentReferenceBatch
Source§fn from(docs: Vec<DocumentReference>) -> DocumentReferenceBatch
fn from(docs: Vec<DocumentReference>) -> DocumentReferenceBatch
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DocumentReferenceBatch
impl RefUnwindSafe for DocumentReferenceBatch
impl Send for DocumentReferenceBatch
impl Sync for DocumentReferenceBatch
impl Unpin for DocumentReferenceBatch
impl UnwindSafe for DocumentReferenceBatch
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