pub struct TranscriptionResult {
pub text: Option<String>,
pub language: Option<String>,
pub segments: Vec<TranscriptSegment>,
pub source: Option<String>,
}Expand description
Data type for transcription result.
Fields§
§text: Option<String>Text content for this value.
language: Option<String>Language tag for this value.
segments: Vec<TranscriptSegment>The segments value.
source: Option<String>The source value.
Trait Implementations§
Source§impl Clone for TranscriptionResult
impl Clone for TranscriptionResult
Source§fn clone(&self) -> TranscriptionResult
fn clone(&self) -> TranscriptionResult
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 TranscriptionResult
impl Debug for TranscriptionResult
Source§impl From<TranscriptionContract> for TranscriptionResult
impl From<TranscriptionContract> for TranscriptionResult
Source§fn from(value: TranscriptionContract) -> Self
fn from(value: TranscriptionContract) -> Self
Converts to this type from the input type.
Source§impl From<TranscriptionResult> for TranscriptionContract
impl From<TranscriptionResult> for TranscriptionContract
Source§fn from(value: TranscriptionResult) -> Self
fn from(value: TranscriptionResult) -> Self
Converts to this type from the input type.
Source§impl PartialEq for TranscriptionResult
impl PartialEq for TranscriptionResult
Source§fn eq(&self, other: &TranscriptionResult) -> bool
fn eq(&self, other: &TranscriptionResult) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TranscriptionResult
Auto Trait Implementations§
impl Freeze for TranscriptionResult
impl RefUnwindSafe for TranscriptionResult
impl Send for TranscriptionResult
impl Sync for TranscriptionResult
impl Unpin for TranscriptionResult
impl UnsafeUnpin for TranscriptionResult
impl UnwindSafe for TranscriptionResult
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