pub struct NodeDiff {
pub timestamp: DateTime<Utc>,
pub changed_features: Vec<(u8, f32, f32)>,
pub contributed_by: String,
}Expand description
A single change to a node over time.
Fields§
§timestamp: DateTime<Utc>When this change occurred.
changed_features: Vec<(u8, f32, f32)>Features that changed: (dimension, old_value, new_value).
contributed_by: StringWhich Cortex instance contributed this change.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for NodeDiff
impl<'de> Deserialize<'de> for NodeDiff
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 NodeDiff
impl RefUnwindSafe for NodeDiff
impl Send for NodeDiff
impl Sync for NodeDiff
impl Unpin for NodeDiff
impl UnsafeUnpin for NodeDiff
impl UnwindSafe for NodeDiff
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