pub struct DerivationMove {
pub from: String,
pub to: String,
pub changes: Vec<Change>,
pub metric_delta: BTreeMap<String, MetricDelta>,
pub summary: String,
}Expand description
The edge from a parent experiment to this one: what was changed, and what it did to the numbers.
Fields§
§from: StringParent experiment id.
to: StringChild experiment id (this record).
changes: Vec<Change>The atomic differences, in the deterministic order
derive emits them. Never empty from derive:
when nothing is visible it holds one Change::Unspecified.
metric_delta: BTreeMap<String, MetricDelta>Per-metric movement, for metrics both runs reported.
summary: StringDeterministic one-line rendering of the move.
Implementations§
Trait Implementations§
Source§impl Clone for DerivationMove
impl Clone for DerivationMove
Source§fn clone(&self) -> DerivationMove
fn clone(&self) -> DerivationMove
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 moreSource§impl Debug for DerivationMove
impl Debug for DerivationMove
Source§impl Default for DerivationMove
impl Default for DerivationMove
Source§fn default() -> DerivationMove
fn default() -> DerivationMove
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DerivationMove
impl<'de> Deserialize<'de> for DerivationMove
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
Source§impl PartialEq for DerivationMove
impl PartialEq for DerivationMove
Source§fn eq(&self, other: &DerivationMove) -> bool
fn eq(&self, other: &DerivationMove) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DerivationMove
impl Serialize for DerivationMove
impl StructuralPartialEq for DerivationMove
Auto Trait Implementations§
impl Freeze for DerivationMove
impl RefUnwindSafe for DerivationMove
impl Send for DerivationMove
impl Sync for DerivationMove
impl Unpin for DerivationMove
impl UnsafeUnpin for DerivationMove
impl UnwindSafe for DerivationMove
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