#[non_exhaustive]pub struct SessionConfiguration {
pub reasoning: Option<ReasoningConfiguration>,
pub peer_card: Option<PeerCardConfiguration>,
pub summary: Option<SummaryConfiguration>,
pub dream: Option<DreamConfiguration>,
}Expand description
Session-level configuration overrides.
All fields are optional. Session-level configuration overrides workspace-level configuration, which overrides global configuration.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.reasoning: Option<ReasoningConfiguration>Configuration for reasoning functionality.
peer_card: Option<PeerCardConfiguration>Configuration for peer card functionality.
If reasoning is disabled, peer cards will also be disabled and these settings will be ignored.
summary: Option<SummaryConfiguration>Configuration for summary functionality.
dream: Option<DreamConfiguration>Configuration for dream functionality.
If reasoning is disabled, dreams will also be disabled and these settings will be ignored.
Trait Implementations§
Source§impl Clone for SessionConfiguration
impl Clone for SessionConfiguration
Source§fn clone(&self) -> SessionConfiguration
fn clone(&self) -> SessionConfiguration
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 SessionConfiguration
impl Debug for SessionConfiguration
Source§impl Default for SessionConfiguration
impl Default for SessionConfiguration
Source§fn default() -> SessionConfiguration
fn default() -> SessionConfiguration
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SessionConfiguration
impl<'de> Deserialize<'de> for SessionConfiguration
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 SessionConfiguration
impl PartialEq for SessionConfiguration
Source§fn eq(&self, other: &SessionConfiguration) -> bool
fn eq(&self, other: &SessionConfiguration) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SessionConfiguration
impl Serialize for SessionConfiguration
impl StructuralPartialEq for SessionConfiguration
Auto Trait Implementations§
impl Freeze for SessionConfiguration
impl RefUnwindSafe for SessionConfiguration
impl Send for SessionConfiguration
impl Sync for SessionConfiguration
impl Unpin for SessionConfiguration
impl UnsafeUnpin for SessionConfiguration
impl UnwindSafe for SessionConfiguration
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