pub struct CachedDocument {
pub doc_type: DocumentType,
pub metadata: Option<CacheMetadata>,
}Expand description
A cached document with optional metadata
Fields§
§doc_type: DocumentType§metadata: Option<CacheMetadata>Trait Implementations§
Source§impl Clone for CachedDocument
impl Clone for CachedDocument
Source§fn clone(&self) -> CachedDocument
fn clone(&self) -> CachedDocument
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CachedDocument
impl RefUnwindSafe for CachedDocument
impl Send for CachedDocument
impl Sync for CachedDocument
impl Unpin for CachedDocument
impl UnsafeUnpin for CachedDocument
impl UnwindSafe for CachedDocument
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