pub struct FallbackAzureSpeechTranscriber {
pub provider: ProviderTrue,
pub language: Option<LanguageTrue>,
}
Fields§
§provider: ProviderTrue
This is the transcription provider that will be used.
language: Option<LanguageTrue>
This is the language that will be set for the transcription. The list of languages Azure supports can be found here: https://learn.microsoft.com/en-us/azure/ai-services/speech-service/language-support?tabs=stt
Implementations§
Source§impl FallbackAzureSpeechTranscriber
impl FallbackAzureSpeechTranscriber
pub fn new(provider: ProviderTrue) -> FallbackAzureSpeechTranscriber
Trait Implementations§
Source§impl Clone for FallbackAzureSpeechTranscriber
impl Clone for FallbackAzureSpeechTranscriber
Source§fn clone(&self) -> FallbackAzureSpeechTranscriber
fn clone(&self) -> FallbackAzureSpeechTranscriber
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for FallbackAzureSpeechTranscriber
impl Default for FallbackAzureSpeechTranscriber
Source§fn default() -> FallbackAzureSpeechTranscriber
fn default() -> FallbackAzureSpeechTranscriber
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FallbackAzureSpeechTranscriber
impl<'de> Deserialize<'de> for FallbackAzureSpeechTranscriber
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 FallbackAzureSpeechTranscriber
impl PartialEq for FallbackAzureSpeechTranscriber
Source§fn eq(&self, other: &FallbackAzureSpeechTranscriber) -> bool
fn eq(&self, other: &FallbackAzureSpeechTranscriber) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for FallbackAzureSpeechTranscriber
Auto Trait Implementations§
impl Freeze for FallbackAzureSpeechTranscriber
impl RefUnwindSafe for FallbackAzureSpeechTranscriber
impl Send for FallbackAzureSpeechTranscriber
impl Sync for FallbackAzureSpeechTranscriber
impl Unpin for FallbackAzureSpeechTranscriber
impl UnwindSafe for FallbackAzureSpeechTranscriber
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