pub struct TranscriptMomentRow {
pub cue_index: i32,
pub start_ms: i32,
pub end_ms: i32,
pub content: String,
pub snippet: String,
pub matched_terms: i64,
pub moment: i32,
pub url: String,
}Expand description
A row of search_video_transcript: one matching cue in one video, with the
moment number the function assigns - cues more than ten seconds apart
begin a new moment, so the rolling repeats around one mention group.
Fields§
§cue_index: i32§start_ms: i32§end_ms: i32§content: String§snippet: String§matched_terms: i64§moment: i32§url: StringComes back from the function already carrying &t=.
Trait Implementations§
Source§impl Clone for TranscriptMomentRow
impl Clone for TranscriptMomentRow
Auto Trait Implementations§
impl Forget for TranscriptMomentRow
impl Freeze for TranscriptMomentRow
impl Move for TranscriptMomentRow
impl RefUnwindSafe for TranscriptMomentRow
impl Send for TranscriptMomentRowwhere
RawVecInner: Send,
impl Sync for TranscriptMomentRowwhere
RawVecInner: Sync,
impl Unpin for TranscriptMomentRow
impl UnsafeUnpin for TranscriptMomentRow
impl UnwindSafe for TranscriptMomentRowwhere
RawVecInner: UnwindSafe,
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