#[non_exhaustive]pub struct ModuleSurface {
pub allow: Option<Vec<String>>,
pub deny: Vec<String>,
}Expand description
Which modules (agents, mcp, skills, …) a session in the scene
runs. allow: None runs every module the host assembled; naming one the
host did not assemble adds nothing. The delegates a session spawns inherit
the narrowed list.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.allow: Option<Vec<String>>§deny: Vec<String>Implementations§
Trait Implementations§
Source§impl Clone for ModuleSurface
impl Clone for ModuleSurface
Source§impl Debug for ModuleSurface
impl Debug for ModuleSurface
Source§impl Default for ModuleSurface
impl Default for ModuleSurface
impl Eq for ModuleSurface
Source§impl PartialEq for ModuleSurface
impl PartialEq for ModuleSurface
impl StructuralPartialEq for ModuleSurface
Auto Trait Implementations§
impl Forget for ModuleSurface
impl Freeze for ModuleSurface
impl Move for ModuleSurface
impl RefUnwindSafe for ModuleSurface
impl Send for ModuleSurface
impl Sync for ModuleSurface
impl Unpin for ModuleSurface
impl UnsafeUnpin for ModuleSurface
impl UnwindSafe for ModuleSurface
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