pub struct TextToSpeechParam {
pub model: String,
pub input: Input,
pub stream: Option<bool>,
pub parameters: Option<Parameters>,
}
Fields§
§model: String
§input: Input
§stream: Option<bool>
§parameters: Option<Parameters>
Trait Implementations§
Source§impl Clone for TextToSpeechParam
impl Clone for TextToSpeechParam
Source§fn clone(&self) -> TextToSpeechParam
fn clone(&self) -> TextToSpeechParam
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 TextToSpeechParam
impl Debug for TextToSpeechParam
Source§impl<'de> Deserialize<'de> for TextToSpeechParam
impl<'de> Deserialize<'de> for TextToSpeechParam
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 TextToSpeechParam
impl PartialEq for TextToSpeechParam
Source§impl RequestTrait for TextToSpeechParam
impl RequestTrait for TextToSpeechParam
Source§fn parameters(&self) -> Option<&Parameters>
fn parameters(&self) -> Option<&Parameters>
Returns a reference to the optional parameters for this request.
Source§impl Serialize for TextToSpeechParam
impl Serialize for TextToSpeechParam
impl StructuralPartialEq for TextToSpeechParam
Auto Trait Implementations§
impl Freeze for TextToSpeechParam
impl RefUnwindSafe for TextToSpeechParam
impl Send for TextToSpeechParam
impl Sync for TextToSpeechParam
impl Unpin for TextToSpeechParam
impl UnwindSafe for TextToSpeechParam
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