pub struct TranscriptCueRow {Show 14 fields
pub video_id: String,
pub video_title: String,
pub lang: String,
pub source: String,
pub cue_index: i32,
pub start_ms: i32,
pub end_ms: i32,
pub content: String,
pub snippet: String,
pub rank: f32,
pub matched_terms: i64,
pub context_matches: i64,
pub published_at: Option<DateTime<Utc>>,
pub view_count: Option<i64>,
}Expand description
A row of search_transcripts: one matching utterance, and where it is.
Fields§
§video_id: String§video_title: String§lang: String§source: Stringmanual or auto.
cue_index: i32§start_ms: i32§end_ms: i32§content: String§snippet: StringThe matched part, with » and « around the hit.
rank: f32Cover density over the utterance, ts_rank_cd. The lowest of the three
relevance signals; see the traps section of rpc.md before sorting or
comparing on it.
matched_terms: i64How many distinct query terms this utterance carries.
context_matches: i64Matching utterances within +-300 s, in the same video and track.
published_at: Option<DateTime<Utc>>§view_count: Option<i64>Trait Implementations§
Source§impl Clone for TranscriptCueRow
impl Clone for TranscriptCueRow
Auto Trait Implementations§
impl Forget for TranscriptCueRow
impl Freeze for TranscriptCueRow
impl Move for TranscriptCueRow
impl RefUnwindSafe for TranscriptCueRow
impl Send for TranscriptCueRow
impl Sync for TranscriptCueRow
impl Unpin for TranscriptCueRow
impl UnsafeUnpin for TranscriptCueRowwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
NonZeroI32Inner: UnsafeUnpin,
Utc: UnsafeUnpin,
impl UnwindSafe for TranscriptCueRow
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<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more