ChecklistLiveStatus#

pub struct ChecklistLiveStatus#

Live status of a streaming checklist executing against an asset.

Returned by ChecklistsClient::live_status. Fields carrying running-only data (commit_id and check_results) are only populated when state is ChecklistState::Running.

Implementations#

impl ChecklistLiveStatus
pub fn state(&self) -> ChecklistState#

Execution state reported by the server.

pub fn commit_id(&self) -> Option<&str>#

The commit ID currently loaded by the running evaluator. None unless the evaluator is running.

pub fn check_results(&self) -> &[CheckLiveStatus]#

Latest per-check statuses reported by the evaluator. Empty unless the evaluator is running.

Trait implementations#

Derived: Debug, Clone, StructuralPartialEq, PartialEq, Eq

Auto traits: Send, Sync, Unpin, UnwindSafe, RefUnwindSafe