pub struct AgentFeatureFlags {
pub enable_memory: bool,
pub enable_task_planning: bool,
pub enable_memory_vector: bool,
}Expand description
Agent 功能开关
Fields§
§enable_memory: bool§enable_task_planning: bool§enable_memory_vector: bool启用 Memory 向量检索(需 memory_vector feature + embedding API)
Implementations§
Trait Implementations§
Source§impl Clone for AgentFeatureFlags
impl Clone for AgentFeatureFlags
Source§fn clone(&self) -> AgentFeatureFlags
fn clone(&self) -> AgentFeatureFlags
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 moreAuto Trait Implementations§
impl Freeze for AgentFeatureFlags
impl RefUnwindSafe for AgentFeatureFlags
impl Send for AgentFeatureFlags
impl Sync for AgentFeatureFlags
impl Unpin for AgentFeatureFlags
impl UnsafeUnpin for AgentFeatureFlags
impl UnwindSafe for AgentFeatureFlags
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