pub struct DataModelEvent {
pub path: String,
pub new_value: Option<Value>,
}Expand description
Event emitted when data changes.
Fields§
§path: StringThe path that was changed.
new_value: Option<Value>The new value at the path (None if removed).
Trait Implementations§
Source§impl Clone for DataModelEvent
impl Clone for DataModelEvent
Source§fn clone(&self) -> DataModelEvent
fn clone(&self) -> DataModelEvent
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 moreAuto Trait Implementations§
impl Freeze for DataModelEvent
impl RefUnwindSafe for DataModelEvent
impl Send for DataModelEvent
impl Sync for DataModelEvent
impl Unpin for DataModelEvent
impl UnsafeUnpin for DataModelEvent
impl UnwindSafe for DataModelEvent
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