pub struct CheckpointDiff {Show 17 fields
pub schema_version: u32,
pub run_id: String,
pub from_step: u32,
pub to_step: u32,
pub changed_state: StateSnapshot,
pub removed_vars: Vec<String>,
pub frontier: Option<Frontier>,
pub loop_counters: BTreeMap<String, u32>,
pub cost_usd: Option<f64>,
pub elapsed_ms: Option<u64>,
pub deadlines: Option<BTreeMap<String, i64>>,
pub resume_on: Option<BTreeMap<String, String>>,
pub wait_timeouts: Option<BTreeMap<String, i64>>,
pub changed_outputs: BTreeMap<String, Value>,
pub changed_bits: BTreeMap<String, (bool, bool)>,
pub changed_history: BTreeMap<String, Vec<Value>>,
pub position: Option<Position>,
}Expand description
What changed from one checkpoint to the next. Fields that did not change
are absent. Variables removed are listed in removed_vars.
Fields§
§schema_version: u32§run_id: String§from_step: u32§to_step: u32§changed_state: StateSnapshot§removed_vars: Vec<String>§frontier: Option<Frontier>§loop_counters: BTreeMap<String, u32>§cost_usd: Option<f64>§elapsed_ms: Option<u64>§deadlines: Option<BTreeMap<String, i64>>§resume_on: Option<BTreeMap<String, String>>§wait_timeouts: Option<BTreeMap<String, i64>>§changed_outputs: BTreeMap<String, Value>Outputs that are new or different. A block’s output is never taken back.
changed_bits: BTreeMap<String, (bool, bool)>§changed_history: BTreeMap<String, Vec<Value>>§position: Option<Position>Trait Implementations§
Source§impl Clone for CheckpointDiff
impl Clone for CheckpointDiff
Source§fn clone(&self) -> CheckpointDiff
fn clone(&self) -> CheckpointDiff
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 CheckpointDiff
impl Debug for CheckpointDiff
Source§impl Default for CheckpointDiff
impl Default for CheckpointDiff
Source§fn default() -> CheckpointDiff
fn default() -> CheckpointDiff
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CheckpointDiff
impl<'de> Deserialize<'de> for CheckpointDiff
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 CheckpointDiff
impl PartialEq for CheckpointDiff
Source§impl Serialize for CheckpointDiff
impl Serialize for CheckpointDiff
impl StructuralPartialEq for CheckpointDiff
Auto Trait Implementations§
impl Freeze for CheckpointDiff
impl RefUnwindSafe for CheckpointDiff
impl Send for CheckpointDiff
impl Sync for CheckpointDiff
impl Unpin for CheckpointDiff
impl UnsafeUnpin for CheckpointDiff
impl UnwindSafe for CheckpointDiff
Blanket Implementations§
§impl<T> AnyEq for T
impl<T> AnyEq for T
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.§impl<T> DowncastSync for T
impl<T> DowncastSync for T
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<T> NoneValue for Twhere
T: Default,
impl<T> NoneValue for Twhere
T: Default,
type NoneType = T
§fn null_value() -> T
fn null_value() -> T
The none-equivalent value.