pub struct WatchDelta {
pub node: u32,
pub changed_features: Vec<(usize, f32, f32)>,
pub timestamp: f64,
}Expand description
A change detected during watching.
Fields§
§node: u32The node index that changed.
changed_features: Vec<(usize, f32, f32)>Features that changed: dimension → (old_value, new_value).
timestamp: f64When the change was detected (Unix timestamp).
Trait Implementations§
Source§impl Clone for WatchDelta
impl Clone for WatchDelta
Source§fn clone(&self) -> WatchDelta
fn clone(&self) -> WatchDelta
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 moreSource§impl Debug for WatchDelta
impl Debug for WatchDelta
Source§impl<'de> Deserialize<'de> for WatchDelta
impl<'de> Deserialize<'de> for WatchDelta
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for WatchDelta
impl RefUnwindSafe for WatchDelta
impl Send for WatchDelta
impl Sync for WatchDelta
impl Unpin for WatchDelta
impl UnsafeUnpin for WatchDelta
impl UnwindSafe for WatchDelta
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