Struct walker_common::store::Document
source · pub struct Document<'a> {
pub data: &'a [u8],
pub sha256: &'a Option<RetrievedDigest<Sha256>>,
pub sha512: &'a Option<RetrievedDigest<Sha512>>,
pub signature: &'a Option<String>,
pub changed: SystemTime,
pub metadata: &'a RetrievalMetadata,
pub no_timestamps: bool,
pub no_xattrs: bool,
}Fields§
§data: &'a [u8]The data to store
sha256: &'a Option<RetrievedDigest<Sha256>>An optional SHA256 digest
sha512: &'a Option<RetrievedDigest<Sha512>>An optional SHA512 digest
signature: &'a Option<String>An optional signature
changed: SystemTimeLast change date
metadata: &'a RetrievalMetadataMetadata from the retrieval process
no_timestamps: bool§no_xattrs: boolAuto Trait Implementations§
impl<'a> Freeze for Document<'a>
impl<'a> RefUnwindSafe for Document<'a>
impl<'a> Send for Document<'a>
impl<'a> Sync for Document<'a>
impl<'a> Unpin for Document<'a>
impl<'a> UnwindSafe for Document<'a>
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