pub struct DocumentIndex {
pub documents: Vec<DocumentMetadata>,
}Expand description
An index of documents that were downloaded from a data source.
Fields§
§documents: Vec<DocumentMetadata>The list of metadata for each available document.
Trait Implementations§
Source§impl Clone for DocumentIndex
impl Clone for DocumentIndex
Source§fn clone(&self) -> DocumentIndex
fn clone(&self) -> DocumentIndex
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 moreSource§impl Debug for DocumentIndex
impl Debug for DocumentIndex
Source§impl Default for DocumentIndex
impl Default for DocumentIndex
Source§fn default() -> DocumentIndex
fn default() -> DocumentIndex
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DocumentIndex
impl<'de> Deserialize<'de> for DocumentIndex
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for DocumentIndex
impl PartialEq for DocumentIndex
Source§impl Serialize for DocumentIndex
impl Serialize for DocumentIndex
impl Eq for DocumentIndex
impl StructuralPartialEq for DocumentIndex
Auto Trait Implementations§
impl Freeze for DocumentIndex
impl RefUnwindSafe for DocumentIndex
impl Send for DocumentIndex
impl Sync for DocumentIndex
impl Unpin for DocumentIndex
impl UnwindSafe for DocumentIndex
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