#[non_exhaustive]pub struct AppliedPatch {
pub id: String,
pub target_template: String,
pub rationale: String,
pub evidence: String,
pub operation: PatchOperation,
}Expand description
Record of one Patch that was successfully applied to a catalog snapshot.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.id: StringId of the applied patch.
target_template: StringName of the set template it was applied to.
rationale: StringWhy the correction was needed.
evidence: StringCitation or reference supporting the correction.
operation: PatchOperationThe change that was made.
Trait Implementations§
Source§impl Clone for AppliedPatch
impl Clone for AppliedPatch
Source§fn clone(&self) -> AppliedPatch
fn clone(&self) -> AppliedPatch
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 AppliedPatch
impl Debug for AppliedPatch
impl Eq for AppliedPatch
Source§impl PartialEq for AppliedPatch
impl PartialEq for AppliedPatch
impl StructuralPartialEq for AppliedPatch
Auto Trait Implementations§
impl Freeze for AppliedPatch
impl RefUnwindSafe for AppliedPatch
impl Send for AppliedPatch
impl Sync for AppliedPatch
impl Unpin for AppliedPatch
impl UnsafeUnpin for AppliedPatch
impl UnwindSafe for AppliedPatch
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