pub struct CatalogIdentity {
pub implementation_version: String,
pub catalog_version: String,
pub catalog_digest: Option<String>,
pub locale_coverage: Vec<LocaleCoverage>,
pub target: TargetMeta,
pub provenance: Provenance,
}Expand description
The machine-readable catalog identity (ADR-0001 Decision 5): the four identities that evolve independently — implementation version, catalog dataset version plus content digest, locale coverage, and target evidence — plus the data provenance record. Serialized with the ADR’s kebab-case identity names.
Fields§
§implementation_version: StringThe workshop-rs package version (semver); bumped by code changes.
catalog_version: StringThe catalog dataset version; bumped by any dataset change.
catalog_digest: Option<String>The deterministic content digest (sha256 hex) computed by the
pipeline; None when the data does not declare one.
locale_coverage: Vec<LocaleCoverage>Declared locales with per-locale mapping counts.
target: TargetMetaThe declared target surface.
provenance: ProvenanceThe provenance record of the catalog data.
Trait Implementations§
Source§impl Clone for CatalogIdentity
impl Clone for CatalogIdentity
Source§fn clone(&self) -> CatalogIdentity
fn clone(&self) -> CatalogIdentity
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 CatalogIdentity
impl Debug for CatalogIdentity
Source§impl<'de> Deserialize<'de> for CatalogIdentity
impl<'de> Deserialize<'de> for CatalogIdentity
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
impl Eq for CatalogIdentity
Source§impl PartialEq for CatalogIdentity
impl PartialEq for CatalogIdentity
Source§impl Serialize for CatalogIdentity
impl Serialize for CatalogIdentity
impl StructuralPartialEq for CatalogIdentity
Auto Trait Implementations§
impl Freeze for CatalogIdentity
impl RefUnwindSafe for CatalogIdentity
impl Send for CatalogIdentity
impl Sync for CatalogIdentity
impl Unpin for CatalogIdentity
impl UnsafeUnpin for CatalogIdentity
impl UnwindSafe for CatalogIdentity
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