#[non_exhaustive]pub struct AudioTranscription {
pub text: String,
pub speaker_label: Option<String>,
pub words: Option<Vec<WordInfo>>,
pub rest: Rest,
}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.text: String§speaker_label: Option<String>§words: Option<Vec<WordInfo>>§rest: RestImplementations§
Source§impl AudioTranscription
impl AudioTranscription
Sourcepub fn builder(text: String) -> AudioTranscriptionBuilder
pub fn builder(text: String) -> AudioTranscriptionBuilder
Start a builder by supplying the required fields in declaration order.
Trait Implementations§
Source§impl Clone for AudioTranscription
impl Clone for AudioTranscription
Source§impl Debug for AudioTranscription
impl Debug for AudioTranscription
Source§impl DeclaredFields for AudioTranscription
impl DeclaredFields for AudioTranscription
fn into_declared(self) -> Self
Source§impl<'de> Deserialize<'de> for AudioTranscription
impl<'de> Deserialize<'de> for AudioTranscription
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 AudioTranscription
impl PartialEq for AudioTranscription
Source§impl Serialize for AudioTranscription
impl Serialize for AudioTranscription
impl StructuralPartialEq for AudioTranscription
Auto Trait Implementations§
impl Freeze for AudioTranscription
impl RefUnwindSafe for AudioTranscription
impl Send for AudioTranscription
impl Sync for AudioTranscription
impl Unpin for AudioTranscription
impl UnsafeUnpin for AudioTranscription
impl UnwindSafe for AudioTranscription
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