pub struct AzureSpeechTranscriber {
pub provider: ProviderTrue,
pub language: Option<LanguageTrue>,
pub fallback_plan: Option<FallbackTranscriberPlan>,
}
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
fallback_plan: Option<FallbackTranscriberPlan>
This is the plan for voice provider fallbacks in the event that the primary voice provider fails.
Implementations§
Source§impl AzureSpeechTranscriber
impl AzureSpeechTranscriber
pub fn new(provider: ProviderTrue) -> AzureSpeechTranscriber
Trait Implementations§
Source§impl Clone for AzureSpeechTranscriber
impl Clone for AzureSpeechTranscriber
Source§fn clone(&self) -> AzureSpeechTranscriber
fn clone(&self) -> AzureSpeechTranscriber
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 Debug for AzureSpeechTranscriber
impl Debug for AzureSpeechTranscriber
Source§impl Default for AzureSpeechTranscriber
impl Default for AzureSpeechTranscriber
Source§fn default() -> AzureSpeechTranscriber
fn default() -> AzureSpeechTranscriber
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AzureSpeechTranscriber
impl<'de> Deserialize<'de> for AzureSpeechTranscriber
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 AzureSpeechTranscriber
impl PartialEq for AzureSpeechTranscriber
Source§impl Serialize for AzureSpeechTranscriber
impl Serialize for AzureSpeechTranscriber
impl StructuralPartialEq for AzureSpeechTranscriber
Auto Trait Implementations§
impl Freeze for AzureSpeechTranscriber
impl RefUnwindSafe for AzureSpeechTranscriber
impl Send for AzureSpeechTranscriber
impl Sync for AzureSpeechTranscriber
impl Unpin for AzureSpeechTranscriber
impl UnwindSafe for AzureSpeechTranscriber
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