pub struct PendingCheck {
pub clip_id: String,
pub empty: bool,
pub timed: bool,
pub written_slots: Vec<(ArtifactKind, String)>,
}Expand description
One clip’s synced-lyrics outcome this run, for the caller to record as a
manifest SyncedLyricsCheck once the sidecar
write (if any) has safely landed.
Fields§
§clip_id: StringThe clip this outcome concerns.
empty: boolWhether the clip resolved to no lyrics (an instrumental). An instrumental writes no sidecar and is marked unconditionally.
timed: boolWhether the fetched alignment was timed (as opposed to an untimed
plain-text fallback). Only meaningful when empty is false; a timed clip
is exempt from the periodic re-check.
written_slots: Vec<(ArtifactKind, String)>Every lyric sidecar slot this clip’s fetch produced a body for, paired
with the content hash the manifest slot must reflect. The caller stamps
the durable marker only once EVERY listed slot has landed, so a partial
write (one slot ok, another failed non-fatally) leaves no marker and is
retried next run. Empty for an instrumental (nothing written).
Deterministically ordered (Lrc before
LyricsTxt).
Trait Implementations§
Source§impl Clone for PendingCheck
impl Clone for PendingCheck
Source§fn clone(&self) -> PendingCheck
fn clone(&self) -> PendingCheck
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for PendingCheck
impl Debug for PendingCheck
impl Eq for PendingCheck
Source§impl PartialEq for PendingCheck
impl PartialEq for PendingCheck
Source§fn eq(&self, other: &PendingCheck) -> bool
fn eq(&self, other: &PendingCheck) -> bool
self and other values to be equal, and is used by ==.