pub struct PropertyChange {
pub key: String,
pub old: Option<Property>,
pub new: Option<Property>,
pub element: Value,
}Expand description
One property-change record (assignment or removal) emitted
per (element, key) tuple touched by the tx. The element
field is a Value::Node or Value::Edge depending on
scope so the trigger body can inspect the wider shape.
Fields§
§key: String§old: Option<Property>§new: Option<Property>§element: ValueTrait Implementations§
Source§impl Clone for PropertyChange
impl Clone for PropertyChange
Source§fn clone(&self) -> PropertyChange
fn clone(&self) -> PropertyChange
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for PropertyChange
impl RefUnwindSafe for PropertyChange
impl Send for PropertyChange
impl Sync for PropertyChange
impl Unpin for PropertyChange
impl UnsafeUnpin for PropertyChange
impl UnwindSafe for PropertyChange
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