pub struct MatchCandidate {
pub video: String,
pub subtitle: String,
pub confidence: u8,
pub accepted: bool,
pub reason: Option<String>,
}Expand description
AI-suggested match candidate emitted in data.candidates.
Fields§
§video: StringPath to the candidate video file.
subtitle: StringPath to the candidate subtitle file.
confidence: u8Confidence score, expressed as an integer percentage (0–100).
accepted: booltrue when the candidate met the threshold and resolved to real files.
reason: Option<String>Stable rejection code ("below_threshold" or "id_not_found"),
only present when accepted == false.
Trait Implementations§
Source§impl Debug for MatchCandidate
impl Debug for MatchCandidate
Auto Trait Implementations§
impl Freeze for MatchCandidate
impl RefUnwindSafe for MatchCandidate
impl Send for MatchCandidate
impl Sync for MatchCandidate
impl Unpin for MatchCandidate
impl UnsafeUnpin for MatchCandidate
impl UnwindSafe for MatchCandidate
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