pub struct TextOutput {
pub text: String,
pub language: String,
}Expand description
文本输出(如 ASR / TTS 的文本)。
Fields§
§text: String文本内容。
language: String语言。
Trait Implementations§
Source§impl Clone for TextOutput
impl Clone for TextOutput
Source§impl Debug for TextOutput
impl Debug for TextOutput
Source§impl<'de> Deserialize<'de> for TextOutput
impl<'de> Deserialize<'de> for TextOutput
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 TextOutput
impl PartialEq for TextOutput
Source§impl Serialize for TextOutput
impl Serialize for TextOutput
impl StructuralPartialEq for TextOutput
Auto Trait Implementations§
impl Freeze for TextOutput
impl RefUnwindSafe for TextOutput
impl Send for TextOutput
impl Sync for TextOutput
impl Unpin for TextOutput
impl UnsafeUnpin for TextOutput
impl UnwindSafe for TextOutput
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