pub struct TtsSynthesizeResponse {
pub ok: bool,
pub model: String,
pub uri: 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.
Audio is committed to the owning Core and returned as an artifact URI. 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§uri: 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§impl Debug for TtsSynthesizeResponse
impl Debug for TtsSynthesizeResponse
Source§impl Default for TtsSynthesizeResponse
impl Default for TtsSynthesizeResponse
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 Forget for TtsSynthesizeResponse
impl Freeze for TtsSynthesizeResponse
impl Move for TtsSynthesizeResponse
impl RefUnwindSafe for TtsSynthesizeResponse
impl Send for TtsSynthesizeResponsewhere
RawVecInner: Send,
impl Sync for TtsSynthesizeResponsewhere
RawVecInner: Sync,
impl Unpin for TtsSynthesizeResponse
impl UnsafeUnpin for TtsSynthesizeResponse
impl UnwindSafe for TtsSynthesizeResponsewhere
RawVecInner: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.