pub struct SpeechContext {
pub schema_version: u8,
pub status: SpeechContextStatus,
pub emotions: Option<Vec<SpeechContextSpan>>,
pub vocal: Option<Vec<SpeechContextSpan>>,
pub sounds: Option<Vec<SpeechContextSoundSpan>>,
pub unavailable: Option<Vec<SpeechContextTrack>>,
}Fields§
§schema_version: u8§status: SpeechContextStatus§emotions: Option<Vec<SpeechContextSpan>>§vocal: Option<Vec<SpeechContextSpan>>§sounds: Option<Vec<SpeechContextSoundSpan>>Trait Implementations§
Source§impl Clone for SpeechContext
impl Clone for SpeechContext
Source§fn clone(&self) -> SpeechContext
fn clone(&self) -> SpeechContext
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 SpeechContext
impl Debug for SpeechContext
Source§impl<'de> Deserialize<'de> for SpeechContext
impl<'de> Deserialize<'de> for SpeechContext
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 SpeechContext
impl PartialEq for SpeechContext
Source§impl Serialize for SpeechContext
impl Serialize for SpeechContext
impl StructuralPartialEq for SpeechContext
Auto Trait Implementations§
impl Freeze for SpeechContext
impl RefUnwindSafe for SpeechContext
impl Send for SpeechContext
impl Sync for SpeechContext
impl Unpin for SpeechContext
impl UnsafeUnpin for SpeechContext
impl UnwindSafe for SpeechContext
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