#[non_exhaustive]pub enum TranscriptFormat {
Json,
Text,
Srt,
VerboseJson,
Vtt,
DiarizedJson,
Other(String),
}Expand description
The form of a transcript: JSON with the text, plain text, subtitles, or JSON with segments, words or speakers.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Implementations§
Trait Implementations§
Source§impl Clone for TranscriptFormat
impl Clone for TranscriptFormat
Source§impl Debug for TranscriptFormat
impl Debug for TranscriptFormat
Source§impl<'de> Deserialize<'de> for TranscriptFormat
impl<'de> Deserialize<'de> for TranscriptFormat
Source§fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl Eq for TranscriptFormat
Source§impl Hash for TranscriptFormat
impl Hash for TranscriptFormat
Source§impl PartialEq for TranscriptFormat
impl PartialEq for TranscriptFormat
Source§impl Serialize for TranscriptFormat
impl Serialize for TranscriptFormat
impl StructuralPartialEq for TranscriptFormat
Auto Trait Implementations§
impl Forget for TranscriptFormat
impl Freeze for TranscriptFormat
impl Move for TranscriptFormat
impl RefUnwindSafe for TranscriptFormat
impl Send for TranscriptFormatwhere
RawVecInner: Send,
impl Sync for TranscriptFormatwhere
RawVecInner: Sync,
impl Unpin for TranscriptFormat
impl UnsafeUnpin for TranscriptFormat
impl UnwindSafe for TranscriptFormatwhere
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.