pub struct ContextCheckpointProgressV2 {
pub completed_steps: u32,
pub total_steps: u32,
pub confidence_milliunits: u16,
pub summary: ContextCheckpointTextV2,
}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: ContextCheckpointTextV2Bounded human-readable summary.
Implementations§
Source§impl ContextCheckpointProgressV2
impl ContextCheckpointProgressV2
Sourcepub fn validate(&self) -> Result<(), ValidationError>
pub fn validate(&self) -> Result<(), ValidationError>
Validate progress counters and confidence bounds.
Trait Implementations§
Source§impl Clone for ContextCheckpointProgressV2
impl Clone for ContextCheckpointProgressV2
Source§impl Debug for ContextCheckpointProgressV2
impl Debug for ContextCheckpointProgressV2
Source§impl<'de> Deserialize<'de> for ContextCheckpointProgressV2
impl<'de> Deserialize<'de> for ContextCheckpointProgressV2
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 ContextCheckpointProgressV2
impl StructuralPartialEq for ContextCheckpointProgressV2
Auto Trait Implementations§
impl Freeze for ContextCheckpointProgressV2
impl RefUnwindSafe for ContextCheckpointProgressV2
impl Send for ContextCheckpointProgressV2
impl Sync for ContextCheckpointProgressV2
impl Unpin for ContextCheckpointProgressV2
impl UnsafeUnpin for ContextCheckpointProgressV2
impl UnwindSafe for ContextCheckpointProgressV2
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