pub struct VoiceOverrides {
pub name_for_user: Option<String>,
pub formality: Option<Formality>,
pub extra_instructions: Option<String>,
}Fields§
§name_for_user: Option<String>§formality: Option<Formality>§extra_instructions: Option<String>Trait Implementations§
Source§impl Clone for VoiceOverrides
impl Clone for VoiceOverrides
Source§fn clone(&self) -> VoiceOverrides
fn clone(&self) -> VoiceOverrides
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 VoiceOverrides
impl Debug for VoiceOverrides
Source§impl Default for VoiceOverrides
impl Default for VoiceOverrides
Source§fn default() -> VoiceOverrides
fn default() -> VoiceOverrides
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for VoiceOverrides
impl<'de> Deserialize<'de> for VoiceOverrides
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 VoiceOverrides
impl PartialEq for VoiceOverrides
Source§fn eq(&self, other: &VoiceOverrides) -> bool
fn eq(&self, other: &VoiceOverrides) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for VoiceOverrides
impl Serialize for VoiceOverrides
impl StructuralPartialEq for VoiceOverrides
Auto Trait Implementations§
impl Freeze for VoiceOverrides
impl RefUnwindSafe for VoiceOverrides
impl Send for VoiceOverrides
impl Sync for VoiceOverrides
impl Unpin for VoiceOverrides
impl UnsafeUnpin for VoiceOverrides
impl UnwindSafe for VoiceOverrides
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