pub struct StoreProvenance {
pub origin: Option<String>,
pub metadata: Metadata,
}Fields§
§origin: Option<String>§metadata: MetadataImplementations§
Source§impl StoreProvenance
impl StoreProvenance
pub fn from_fetch_receipt(receipt: &FetchReceipt) -> Self
pub fn from_archive_report(report: &ArchiveReport) -> Self
pub fn from_fetched_archive_extraction( receipt: &FetchReceipt, report: &ArchiveReport, ) -> Self
Trait Implementations§
Source§impl Clone for StoreProvenance
impl Clone for StoreProvenance
Source§fn clone(&self) -> StoreProvenance
fn clone(&self) -> StoreProvenance
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 StoreProvenance
impl Debug for StoreProvenance
Source§impl<'de> Deserialize<'de> for StoreProvenance
impl<'de> Deserialize<'de> for StoreProvenance
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 StoreProvenance
impl PartialEq for StoreProvenance
Source§impl Serialize for StoreProvenance
impl Serialize for StoreProvenance
impl Eq for StoreProvenance
impl StructuralPartialEq for StoreProvenance
Auto Trait Implementations§
impl Freeze for StoreProvenance
impl RefUnwindSafe for StoreProvenance
impl Send for StoreProvenance
impl Sync for StoreProvenance
impl Unpin for StoreProvenance
impl UnsafeUnpin for StoreProvenance
impl UnwindSafe for StoreProvenance
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.