#[non_exhaustive]pub enum SpeechVoice {
Name(String),
Custom(CustomVoice),
}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.
Name(String)
Custom(CustomVoice)
Trait Implementations§
Source§impl Clone for SpeechVoice
impl Clone for SpeechVoice
Source§impl Debug for SpeechVoice
impl Debug for SpeechVoice
Source§impl DeclaredFields for SpeechVoice
impl DeclaredFields for SpeechVoice
fn into_declared(self) -> Self
Source§impl<'de> Deserialize<'de> for SpeechVoice
impl<'de> Deserialize<'de> for SpeechVoice
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 SpeechVoice
Source§impl PartialEq for SpeechVoice
impl PartialEq for SpeechVoice
Source§impl Serialize for SpeechVoice
impl Serialize for SpeechVoice
impl StructuralPartialEq for SpeechVoice
Auto Trait Implementations§
impl Freeze for SpeechVoice
impl RefUnwindSafe for SpeechVoice
impl Send for SpeechVoice
impl Sync for SpeechVoice
impl Unpin for SpeechVoice
impl UnsafeUnpin for SpeechVoice
impl UnwindSafe for SpeechVoice
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