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<OpItem, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<OpItem, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for OpItem
impl Serialize for OpItem
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. 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 UnsafeUnpin 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