pub struct Patch {
pub id: String,
pub edition: CatalogEdition,
pub target_template: String,
pub rationale: String,
pub evidence: String,
pub operation: PatchOperation,
}Expand description
One ledger entry correcting or annotating an official set template.
Fields§
§id: StringStable identifier for this patch, e.g. NEH-IFC4-QTO-0001.
edition: CatalogEditionSource edition this patch targets; applying it to a catalog of a different edition fails.
target_template: StringName of the set template this patch corrects or annotates.
rationale: StringWhy the correction is needed.
evidence: StringCitation or reference supporting the correction.
operation: PatchOperationThe concrete change this patch makes.
Trait Implementations§
impl Eq for Patch
impl StructuralPartialEq for Patch
Auto Trait Implementations§
impl Freeze for Patch
impl RefUnwindSafe for Patch
impl Send for Patch
impl Sync for Patch
impl Unpin for Patch
impl UnsafeUnpin for Patch
impl UnwindSafe for Patch
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