pub struct LatestCheckState { /* private fields */ }Implementations§
Source§impl LatestCheckState
impl LatestCheckState
pub fn new() -> Self
pub fn clear(&mut self)
pub fn record_success(&mut self, evidence: CheckEvidence)
pub fn record_failure(&mut self, output: WebCodeOutput)
pub fn successful_evidence(&self) -> Option<&CheckEvidence>
pub fn failed_for_publish( &self, tool_call_id: ToolCallId, ) -> Option<WebCodeOutput>
Trait Implementations§
Source§impl Clone for LatestCheckState
impl Clone for LatestCheckState
Auto Trait Implementations§
impl Freeze for LatestCheckState
impl RefUnwindSafe for LatestCheckState
impl Send for LatestCheckState
impl Sync for LatestCheckState
impl Unpin for LatestCheckState
impl UnsafeUnpin for LatestCheckState
impl UnwindSafe for LatestCheckState
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