pub struct FallbackSesameVoice {
pub caching_enabled: Option<bool>,
pub provider: ProviderTrue,
pub voice_id: String,
pub model: ModelTrue,
pub chunk_plan: Option<ChunkPlan>,
}
Fields§
§caching_enabled: Option<bool>
This is the flag to toggle voice caching for the assistant.
provider: ProviderTrue
This is the voice provider that will be used.
voice_id: String
This is the provider-specific ID that will be used.
model: ModelTrue
This is the model that will be used.
chunk_plan: Option<ChunkPlan>
This is the plan for chunking the model output before it is sent to the voice provider.
Implementations§
Source§impl FallbackSesameVoice
impl FallbackSesameVoice
pub fn new( provider: ProviderTrue, voice_id: String, model: ModelTrue, ) -> FallbackSesameVoice
Trait Implementations§
Source§impl Clone for FallbackSesameVoice
impl Clone for FallbackSesameVoice
Source§fn clone(&self) -> FallbackSesameVoice
fn clone(&self) -> FallbackSesameVoice
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 FallbackSesameVoice
impl Debug for FallbackSesameVoice
Source§impl Default for FallbackSesameVoice
impl Default for FallbackSesameVoice
Source§fn default() -> FallbackSesameVoice
fn default() -> FallbackSesameVoice
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FallbackSesameVoice
impl<'de> Deserialize<'de> for FallbackSesameVoice
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 FallbackSesameVoice
impl PartialEq for FallbackSesameVoice
Source§impl Serialize for FallbackSesameVoice
impl Serialize for FallbackSesameVoice
impl StructuralPartialEq for FallbackSesameVoice
Auto Trait Implementations§
impl Freeze for FallbackSesameVoice
impl RefUnwindSafe for FallbackSesameVoice
impl Send for FallbackSesameVoice
impl Sync for FallbackSesameVoice
impl Unpin for FallbackSesameVoice
impl UnwindSafe for FallbackSesameVoice
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