pub struct ComponentsConfig {
pub reasoner: Option<ReasonerConfig>,
pub memory: Option<MemoryConfig>,
pub coordinator: Option<CoordinatorConfig>,
}Expand description
组件配置
Fields§
§reasoner: Option<ReasonerConfig>推理器配置
memory: Option<MemoryConfig>记忆配置
coordinator: Option<CoordinatorConfig>协调器配置
Trait Implementations§
Source§impl Clone for ComponentsConfig
impl Clone for ComponentsConfig
Source§fn clone(&self) -> ComponentsConfig
fn clone(&self) -> ComponentsConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 ComponentsConfig
impl Debug for ComponentsConfig
Source§impl Default for ComponentsConfig
impl Default for ComponentsConfig
Source§fn default() -> ComponentsConfig
fn default() -> ComponentsConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ComponentsConfig
impl<'de> Deserialize<'de> for ComponentsConfig
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
Auto Trait Implementations§
impl Freeze for ComponentsConfig
impl RefUnwindSafe for ComponentsConfig
impl Send for ComponentsConfig
impl Sync for ComponentsConfig
impl Unpin for ComponentsConfig
impl UnsafeUnpin for ComponentsConfig
impl UnwindSafe for ComponentsConfig
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