pub struct ContextCheckpointProgressV1 {
pub completed_steps: u32,
pub total_steps: u32,
pub confidence_milliunits: u16,
pub summary: ContextCheckpointTextV1,
}Expand description
Bounded progress report for the active task.
Fields§
§completed_steps: u32Steps finished so far.
total_steps: u32Total steps planned.
confidence_milliunits: u16Confidence in the reported progress, in 0..=1000 milliunits.
summary: ContextCheckpointTextV1Bounded human-readable summary.
Implementations§
Source§impl ContextCheckpointProgressV1
impl ContextCheckpointProgressV1
Sourcepub fn validate(&self) -> Result<(), ValidationError>
pub fn validate(&self) -> Result<(), ValidationError>
Validate the progress counters and confidence bound.
Trait Implementations§
Source§impl Clone for ContextCheckpointProgressV1
impl Clone for ContextCheckpointProgressV1
Source§impl Debug for ContextCheckpointProgressV1
impl Debug for ContextCheckpointProgressV1
Source§impl<'de> Deserialize<'de> for ContextCheckpointProgressV1
impl<'de> Deserialize<'de> for ContextCheckpointProgressV1
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
impl Eq for ContextCheckpointProgressV1
impl StructuralPartialEq for ContextCheckpointProgressV1
Auto Trait Implementations§
impl Forget for ContextCheckpointProgressV1
impl Freeze for ContextCheckpointProgressV1
impl Move for ContextCheckpointProgressV1
impl RefUnwindSafe for ContextCheckpointProgressV1
impl Send for ContextCheckpointProgressV1
impl Sync for ContextCheckpointProgressV1
impl Unpin for ContextCheckpointProgressV1
impl UnsafeUnpin for ContextCheckpointProgressV1
impl UnwindSafe for ContextCheckpointProgressV1
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