#[non_exhaustive]pub enum SpeechState {
Name(String),
Number(i32),
}Expand description
ai.google.dev/api/live exposes deprecated speechState but provides no value table; current public proto/SDK omit its declaration. Preserve the named enum representation without inventing constants. ProtoJSON enums can be names/ints.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for SpeechState
impl Clone for SpeechState
Source§impl Debug for SpeechState
impl Debug for SpeechState
Source§impl DeclaredFields for SpeechState
impl DeclaredFields for SpeechState
fn into_declared(self) -> Self
Source§impl<'de> Deserialize<'de> for SpeechState
impl<'de> Deserialize<'de> for SpeechState
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 SpeechState
impl PartialEq for SpeechState
Source§impl Serialize for SpeechState
impl Serialize for SpeechState
impl StructuralPartialEq for SpeechState
Auto Trait Implementations§
impl Freeze for SpeechState
impl RefUnwindSafe for SpeechState
impl Send for SpeechState
impl Sync for SpeechState
impl Unpin for SpeechState
impl UnsafeUnpin for SpeechState
impl UnwindSafe for SpeechState
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