pub struct ProcessGroupsOptions {
pub system_preserve: Option<HashSet<String>>,
pub mcp_preserve: Option<HashSet<String>>,
pub required_by_tool: HashMap<String, HashSet<String>>,
pub prune_optional_tools: HashSet<String>,
}Expand description
Enum-preservation and optional-tool pruning settings for process_groups.
Fields§
§system_preserve: Option<HashSet<String>>Enum values that must survive pruning for system tools.
mcp_preserve: Option<HashSet<String>>Enum values that must survive pruning for MCP tools.
required_by_tool: HashMap<String, HashSet<String>>Per-tool required enum values from catalog metadata.
prune_optional_tools: HashSet<String>Tool names where effective_policy == “prune_optional” (enum filtering applies).
Trait Implementations§
Source§impl Clone for ProcessGroupsOptions
impl Clone for ProcessGroupsOptions
Source§fn clone(&self) -> ProcessGroupsOptions
fn clone(&self) -> ProcessGroupsOptions
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 ProcessGroupsOptions
impl Debug for ProcessGroupsOptions
Source§impl Default for ProcessGroupsOptions
impl Default for ProcessGroupsOptions
Source§fn default() -> ProcessGroupsOptions
fn default() -> ProcessGroupsOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ProcessGroupsOptions
impl RefUnwindSafe for ProcessGroupsOptions
impl Send for ProcessGroupsOptions
impl Sync for ProcessGroupsOptions
impl Unpin for ProcessGroupsOptions
impl UnsafeUnpin for ProcessGroupsOptions
impl UnwindSafe for ProcessGroupsOptions
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