pub struct AudioParameters {
pub voice: Voice,
pub format: AudioFormat,
}Fields§
§voice: VoiceThe voice the model uses to respond.
format: AudioFormatSpecifies the output audio format.
Trait Implementations§
Source§impl Clone for AudioParameters
impl Clone for AudioParameters
Source§fn clone(&self) -> AudioParameters
fn clone(&self) -> AudioParameters
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AudioParameters
impl Debug for AudioParameters
Source§impl<'de> Deserialize<'de> for AudioParameters
impl<'de> Deserialize<'de> for AudioParameters
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 AudioParameters
impl PartialEq for AudioParameters
Source§impl Serialize for AudioParameters
impl Serialize for AudioParameters
impl StructuralPartialEq for AudioParameters
Auto Trait Implementations§
impl Freeze for AudioParameters
impl RefUnwindSafe for AudioParameters
impl Send for AudioParameters
impl Sync for AudioParameters
impl Unpin for AudioParameters
impl UnwindSafe for AudioParameters
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