pub struct SourceManifest {
pub edition: CatalogEdition,
pub source_label: String,
pub source_url: String,
pub sha256: String,
pub property_set_count: usize,
pub quantity_set_count: usize,
}Expand description
Reproducible source identity for a normalized snapshot.
Fields§
§edition: CatalogEditionIFC publication edition this snapshot was built from.
source_label: StringHuman-readable name of the source publication.
source_url: StringURL the source publication was retrieved from.
sha256: StringSHA-256 over sorted relative source paths and bytes.
property_set_count: usizeNumber of property-set templates included in the snapshot.
quantity_set_count: usizeNumber of quantity-set templates included in the snapshot.
Trait Implementations§
Source§impl<'__de, __Context> BorrowDecode<'__de, __Context> for SourceManifest
impl<'__de, __Context> BorrowDecode<'__de, __Context> for SourceManifest
Source§fn borrow_decode<__D: BorrowDecoder<'__de, Context = __Context>>(
decoder: &mut __D,
) -> Result<Self, DecodeError>
fn borrow_decode<__D: BorrowDecoder<'__de, Context = __Context>>( decoder: &mut __D, ) -> Result<Self, DecodeError>
Attempt to decode this type with the given BorrowDecode.
Source§impl Clone for SourceManifest
impl Clone for SourceManifest
Source§fn clone(&self) -> SourceManifest
fn clone(&self) -> SourceManifest
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 moreSource§impl Debug for SourceManifest
impl Debug for SourceManifest
Source§impl<__Context> Decode<__Context> for SourceManifest
impl<__Context> Decode<__Context> for SourceManifest
Source§impl Encode for SourceManifest
impl Encode for SourceManifest
impl Eq for SourceManifest
Source§impl PartialEq for SourceManifest
impl PartialEq for SourceManifest
impl StructuralPartialEq for SourceManifest
Auto Trait Implementations§
impl Freeze for SourceManifest
impl RefUnwindSafe for SourceManifest
impl Send for SourceManifest
impl Sync for SourceManifest
impl Unpin for SourceManifest
impl UnsafeUnpin for SourceManifest
impl UnwindSafe for SourceManifest
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