pub struct ScopeConfig {
pub patterns: Vec<String>,
}Expand description
Configuration for a single task-type scope, nested under
[security.capability_scopes.<task_type>].
§Example (TOML)
[security.capability_scopes.research]
patterns = ["builtin:fetch", "builtin:web_scrape", "builtin:search_*"]Fields§
§patterns: Vec<String>Glob patterns over fully-qualified tool ids (<namespace>:<tool>).
Evaluated against the materialised tool registry at agent build time.
Trait Implementations§
Source§impl Clone for ScopeConfig
impl Clone for ScopeConfig
Source§fn clone(&self) -> ScopeConfig
fn clone(&self) -> ScopeConfig
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 ScopeConfig
impl Debug for ScopeConfig
Source§impl<'de> Deserialize<'de> for ScopeConfig
impl<'de> Deserialize<'de> for ScopeConfig
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 ScopeConfig
impl RefUnwindSafe for ScopeConfig
impl Send for ScopeConfig
impl Sync for ScopeConfig
impl Unpin for ScopeConfig
impl UnsafeUnpin for ScopeConfig
impl UnwindSafe for ScopeConfig
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