pub struct TranscriptSegment {
pub start_ms: u64,
pub end_ms: u64,
pub text: String,
}Expand description
One timestamped transcript segment. Serialized camelCase
(startMs/endMs/text) so it matches the cross-surface clip contract.
Fields§
§start_ms: u64§end_ms: u64§text: StringTrait Implementations§
Source§impl Clone for TranscriptSegment
impl Clone for TranscriptSegment
Source§fn clone(&self) -> TranscriptSegment
fn clone(&self) -> TranscriptSegment
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TranscriptSegment
impl Debug for TranscriptSegment
Source§impl Default for TranscriptSegment
impl Default for TranscriptSegment
Source§fn default() -> TranscriptSegment
fn default() -> TranscriptSegment
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TranscriptSegment
impl RefUnwindSafe for TranscriptSegment
impl Send for TranscriptSegment
impl Sync for TranscriptSegment
impl Unpin for TranscriptSegment
impl UnsafeUnpin for TranscriptSegment
impl UnwindSafe for TranscriptSegment
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