pub struct TtsSynthesizeResponse {
pub ok: bool,
pub model: String,
pub audio_base64: Option<String>,
pub mime_type: String,
pub voice: Option<String>,
pub format: Option<String>,
pub reason: Option<String>,
pub detail: Option<String>,
}Expand description
Speech synthesis response returned directly by an LLM Node.
Version 1 transports short audio inline as base64. The effective model, voice, format, and MIME type are returned so callers need not infer which optional request preferences a backend applied.
Fields§
§ok: bool§model: String§audio_base64: Option<String>§mime_type: String§voice: Option<String>§format: Option<String>§reason: Option<String>§detail: Option<String>Trait Implementations§
Source§impl Clone for TtsSynthesizeResponse
impl Clone for TtsSynthesizeResponse
Source§fn clone(&self) -> TtsSynthesizeResponse
fn clone(&self) -> TtsSynthesizeResponse
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 TtsSynthesizeResponse
impl Debug for TtsSynthesizeResponse
Source§impl Default for TtsSynthesizeResponse
impl Default for TtsSynthesizeResponse
Source§fn default() -> TtsSynthesizeResponse
fn default() -> TtsSynthesizeResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TtsSynthesizeResponse
impl<'de> Deserialize<'de> for TtsSynthesizeResponse
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
impl Eq for TtsSynthesizeResponse
Source§impl PartialEq for TtsSynthesizeResponse
impl PartialEq for TtsSynthesizeResponse
Source§impl Serialize for TtsSynthesizeResponse
impl Serialize for TtsSynthesizeResponse
impl StructuralPartialEq for TtsSynthesizeResponse
Auto Trait Implementations§
impl Freeze for TtsSynthesizeResponse
impl RefUnwindSafe for TtsSynthesizeResponse
impl Send for TtsSynthesizeResponse
impl Sync for TtsSynthesizeResponse
impl Unpin for TtsSynthesizeResponse
impl UnsafeUnpin for TtsSynthesizeResponse
impl UnwindSafe for TtsSynthesizeResponse
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