pub struct StarfishTTSRequest {
pub text: String,
pub voice: Option<String>,
pub output_format: Option<String>,
pub speed: Option<f64>,
}Expand description
Request body for Starfish TTS.
Fields§
§text: StringText to synthesise.
voice: Option<String>Voice identifier.
output_format: Option<String>Output audio format.
speed: Option<f64>Speech speed multiplier.
Trait Implementations§
Source§impl Clone for StarfishTTSRequest
impl Clone for StarfishTTSRequest
Source§fn clone(&self) -> StarfishTTSRequest
fn clone(&self) -> StarfishTTSRequest
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 StarfishTTSRequest
impl Debug for StarfishTTSRequest
Source§impl Default for StarfishTTSRequest
impl Default for StarfishTTSRequest
Source§fn default() -> StarfishTTSRequest
fn default() -> StarfishTTSRequest
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for StarfishTTSRequest
impl RefUnwindSafe for StarfishTTSRequest
impl Send for StarfishTTSRequest
impl Sync for StarfishTTSRequest
impl Unpin for StarfishTTSRequest
impl UnsafeUnpin for StarfishTTSRequest
impl UnwindSafe for StarfishTTSRequest
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