pub struct OpItem {
pub video_file: String,
pub subtitle_file: String,
pub new_subtitle_name: String,
pub confidence: f32,
pub reasoning: Vec<String>,
}Expand description
Single match operation cache item storing result details.
Represents a cached match operation between a video and subtitle file, including all the analysis results and metadata.
Fields§
§video_file: StringPath to the video file
subtitle_file: StringPath to the subtitle file
new_subtitle_name: StringThe new name assigned to the subtitle file
confidence: f32Confidence score of the match (0.0 to 1.0)
reasoning: Vec<String>List of reasoning factors for this match
Trait Implementations§
Source§impl<'de> Deserialize<'de> for OpItem
impl<'de> Deserialize<'de> for OpItem
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
Auto Trait Implementations§
impl Freeze for OpItem
impl RefUnwindSafe for OpItem
impl Send for OpItem
impl Sync for OpItem
impl Unpin for OpItem
impl UnwindSafe for OpItem
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