pub struct StarfishTTSResponse {
pub audio_base64: Option<String>,
pub url: Option<String>,
pub format: String,
pub size_bytes: i64,
pub duration: f64,
pub model: String,
pub cost_ticks: i64,
pub request_id: String,
}Expand description
Response from Starfish TTS.
Fields§
§audio_base64: Option<String>§url: Option<String>§format: String§size_bytes: i64§duration: f64§model: String§cost_ticks: i64§request_id: StringTrait Implementations§
Source§impl Clone for StarfishTTSResponse
impl Clone for StarfishTTSResponse
Source§fn clone(&self) -> StarfishTTSResponse
fn clone(&self) -> StarfishTTSResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 StarfishTTSResponse
impl Debug for StarfishTTSResponse
Source§impl<'de> Deserialize<'de> for StarfishTTSResponse
impl<'de> Deserialize<'de> for StarfishTTSResponse
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
Auto Trait Implementations§
impl Freeze for StarfishTTSResponse
impl RefUnwindSafe for StarfishTTSResponse
impl Send for StarfishTTSResponse
impl Sync for StarfishTTSResponse
impl Unpin for StarfishTTSResponse
impl UnsafeUnpin for StarfishTTSResponse
impl UnwindSafe for StarfishTTSResponse
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