pub struct NamedAudioOutput {
pub id: String,
pub audio: AudioBufferInfo,
pub meta: BTreeMap<String, String>,
}Expand description
带名字的音频输出(如 TTS 的多段输出)。
Fields§
§id: String输出 id。
audio: AudioBufferInfo音频描述。
meta: BTreeMap<String, String>附加元数据。
Trait Implementations§
Source§impl Clone for NamedAudioOutput
impl Clone for NamedAudioOutput
Source§impl Debug for NamedAudioOutput
impl Debug for NamedAudioOutput
Source§impl<'de> Deserialize<'de> for NamedAudioOutput
impl<'de> Deserialize<'de> for NamedAudioOutput
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 NamedAudioOutput
impl PartialEq for NamedAudioOutput
Source§impl Serialize for NamedAudioOutput
impl Serialize for NamedAudioOutput
impl StructuralPartialEq for NamedAudioOutput
Auto Trait Implementations§
impl Forget for NamedAudioOutput
impl Freeze for NamedAudioOutput
impl RefUnwindSafe for NamedAudioOutput
impl Send for NamedAudioOutput
impl Sync for NamedAudioOutput
impl Unpin for NamedAudioOutput
impl UnsafeUnpin for NamedAudioOutput
impl UnwindSafe for NamedAudioOutput
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