pub struct FeaturePolicy {
pub memory_enabled: Option<bool>,
pub knowledge_enabled: Option<bool>,
pub plan_tool_enabled: Option<bool>,
pub tool_dispatch_gate: Option<ToolDispatchGate>,
pub stable_core_tool_ids: Option<Vec<String>>,
}Expand description
The feature switches §13.3 folds together: SetMemoryEnabled, SetKnowledgeEnabled,
SetPlanToolEnabled, SetStableCoreTools and the tool dispatch gate (§13.1’s one genuinely
boot-only item in this group).
Fields§
§memory_enabled: Option<bool>§knowledge_enabled: Option<bool>§plan_tool_enabled: Option<bool>§tool_dispatch_gate: Option<ToolDispatchGate>§stable_core_tool_ids: Option<Vec<String>>Tool ids always exposed under skill gating — the exposure baseline.
Trait Implementations§
Source§impl Clone for FeaturePolicy
impl Clone for FeaturePolicy
Source§fn clone(&self) -> FeaturePolicy
fn clone(&self) -> FeaturePolicy
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 FeaturePolicy
impl Debug for FeaturePolicy
Source§impl Default for FeaturePolicy
impl Default for FeaturePolicy
Source§fn default() -> FeaturePolicy
fn default() -> FeaturePolicy
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FeaturePolicy
impl<'de> Deserialize<'de> for FeaturePolicy
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 FeaturePolicy
impl PartialEq for FeaturePolicy
Source§impl Serialize for FeaturePolicy
impl Serialize for FeaturePolicy
impl StructuralPartialEq for FeaturePolicy
Auto Trait Implementations§
impl Freeze for FeaturePolicy
impl RefUnwindSafe for FeaturePolicy
impl Send for FeaturePolicy
impl Sync for FeaturePolicy
impl Unpin for FeaturePolicy
impl UnsafeUnpin for FeaturePolicy
impl UnwindSafe for FeaturePolicy
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