pub struct ContextDagConfig {
pub max_depth: i32,
pub prune_strategy: PruneStrategy,
}Expand description
Configuration for context DAG management.
Fields§
§max_depth: i32Maximum depth of the context DAG
prune_strategy: PruneStrategyStrategy for pruning when limits are exceeded
Trait Implementations§
Source§impl Clone for ContextDagConfig
impl Clone for ContextDagConfig
Source§fn clone(&self) -> ContextDagConfig
fn clone(&self) -> ContextDagConfig
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 ContextDagConfig
impl Debug for ContextDagConfig
Source§impl<'de> Deserialize<'de> for ContextDagConfig
impl<'de> Deserialize<'de> for ContextDagConfig
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 ContextDagConfig
impl PartialEq for ContextDagConfig
Source§impl Serialize for ContextDagConfig
impl Serialize for ContextDagConfig
impl StructuralPartialEq for ContextDagConfig
Auto Trait Implementations§
impl Freeze for ContextDagConfig
impl RefUnwindSafe for ContextDagConfig
impl Send for ContextDagConfig
impl Sync for ContextDagConfig
impl Unpin for ContextDagConfig
impl UnwindSafe for ContextDagConfig
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