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