pub struct Change {
pub path: Path,
pub action: Action,
}Expand description
One position a redaction changed, and what changed it.
The path is fully qualified — every index present, even where it would
be unambiguous — so that a row is a valid er7 --query argument and an
audit trail nobody has to interpret (spec §8.3).
A change carries no values (D13): not the text that was there, and not the text that replaced it. A log line quoting the old value puts the patient’s name into the log, the scrollback, and the CI transcript (spec §8.2).
Fields§
§path: PathWhere it happened, e.g. PID[1]-5[1].2.1.
action: ActionWhat happened there.
Trait Implementations§
impl Eq for Change
impl StructuralPartialEq for Change
Auto Trait Implementations§
impl Freeze for Change
impl RefUnwindSafe for Change
impl Send for Change
impl Sync for Change
impl Unpin for Change
impl UnsafeUnpin for Change
impl UnwindSafe for Change
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