pub struct TranscriptCore {
pub text: String,
pub start: Duration,
pub duration: Duration,
}
Expand description
Struct that contains data about transcirpt text along with start and duration in the whole video.
Fields§
§text: String
transcript text. Ex: “Hi How are you”
start: Duration
starting time of the text in the whole video. Ex: “0 sec”
duration: Duration
duration of the text Ex: “0.8 sec”
Trait Implementations§
Source§impl Debug for TranscriptCore
impl Debug for TranscriptCore
Source§impl PartialEq for TranscriptCore
impl PartialEq for TranscriptCore
Source§impl Serialize for TranscriptCore
impl Serialize for TranscriptCore
impl StructuralPartialEq for TranscriptCore
Auto Trait Implementations§
impl Freeze for TranscriptCore
impl RefUnwindSafe for TranscriptCore
impl Send for TranscriptCore
impl Sync for TranscriptCore
impl Unpin for TranscriptCore
impl UnwindSafe for TranscriptCore
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