pub struct CompanionConfig {
pub enabled: bool,
pub locale: String,
pub relationship: Relationship,
pub voice_overrides: VoiceOverrides,
pub onboarding: OnboardingState,
pub rhythm: RhythmConfig,
pub proactive: ProactiveConfig,
}Fields§
§enabled: bool§locale: String§relationship: Relationship§voice_overrides: VoiceOverrides§onboarding: OnboardingState§rhythm: RhythmConfig§proactive: ProactiveConfigTrait Implementations§
Source§impl Clone for CompanionConfig
impl Clone for CompanionConfig
Source§fn clone(&self) -> CompanionConfig
fn clone(&self) -> CompanionConfig
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 CompanionConfig
impl Debug for CompanionConfig
Source§impl Default for CompanionConfig
impl Default for CompanionConfig
Source§fn default() -> CompanionConfig
fn default() -> CompanionConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CompanionConfig
impl<'de> Deserialize<'de> for CompanionConfig
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 CompanionConfig
impl PartialEq for CompanionConfig
Source§fn eq(&self, other: &CompanionConfig) -> bool
fn eq(&self, other: &CompanionConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CompanionConfig
impl Serialize for CompanionConfig
impl StructuralPartialEq for CompanionConfig
Auto Trait Implementations§
impl Freeze for CompanionConfig
impl RefUnwindSafe for CompanionConfig
impl Send for CompanionConfig
impl Sync for CompanionConfig
impl Unpin for CompanionConfig
impl UnsafeUnpin for CompanionConfig
impl UnwindSafe for CompanionConfig
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