#[non_exhaustive]pub struct TranscriptSegment {
pub id: Option<String>,
pub start: f64,
pub end: f64,
pub text: String,
pub speaker: Option<String>,
pub extras: Extras,
}Expand description
A timed stretch of a transcript.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.id: Option<String>§start: f64The start, in seconds from the start of the audio.
end: f64§text: String§speaker: Option<String>§extras: ExtrasImplementations§
Trait Implementations§
Source§impl Clone for TranscriptSegment
impl Clone for TranscriptSegment
Source§impl Debug for TranscriptSegment
impl Debug for TranscriptSegment
Source§impl Default for TranscriptSegment
impl Default for TranscriptSegment
Source§impl<'de> Deserialize<'de> for TranscriptSegment
impl<'de> Deserialize<'de> for TranscriptSegment
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for TranscriptSegment
impl PartialEq for TranscriptSegment
Source§impl Serialize for TranscriptSegment
impl Serialize for TranscriptSegment
impl StructuralPartialEq for TranscriptSegment
Auto Trait Implementations§
impl Forget for TranscriptSegment
impl Freeze for TranscriptSegmentwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<usize>: Freeze,
PhantomData<Bucket<String, RawJson>>: Freeze,
PhantomData<Bucket<String, Value>>: Freeze,
impl Move for TranscriptSegment
impl RefUnwindSafe for TranscriptSegment
impl Send for TranscriptSegment
impl Sync for TranscriptSegment
impl Unpin for TranscriptSegment
impl UnsafeUnpin for TranscriptSegmentwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<usize>: UnsafeUnpin,
PhantomData<Bucket<String, RawJson>>: UnsafeUnpin,
PhantomData<Bucket<String, Value>>: UnsafeUnpin,
impl UnwindSafe for TranscriptSegmentwhere
RawVecInner: UnwindSafe,
NonNull<u8>: UnwindSafe,
BoxRaw<RawValue>: UnwindSafe,
BTreeMap<String, Value>: 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