pub struct ContentSample {
pub filename: String,
pub content_preview: String,
pub file_size: u64,
}Expand description
Subtitle content sample for AI analysis.
Represents a sample of subtitle content that helps AI services understand the content and context for matching purposes.
Fields§
§filename: StringFilename of the subtitle file
content_preview: StringPreview of the subtitle content
file_size: u64Size of the subtitle file in bytes
Trait Implementations§
Source§impl Clone for ContentSample
impl Clone for ContentSample
Source§fn clone(&self) -> ContentSample
fn clone(&self) -> ContentSample
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ContentSample
impl Debug for ContentSample
Source§impl PartialEq for ContentSample
impl PartialEq for ContentSample
Source§impl Serialize for ContentSample
impl Serialize for ContentSample
impl Eq for ContentSample
impl StructuralPartialEq for ContentSample
Auto Trait Implementations§
impl Freeze for ContentSample
impl RefUnwindSafe for ContentSample
impl Send for ContentSample
impl Sync for ContentSample
impl Unpin for ContentSample
impl UnwindSafe for ContentSample
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.