pub struct ServerTools {
pub allowed: Option<Vec<String>>,
pub blocked: Option<Vec<String>>,
pub default: Option<ToolDefault>,
}Expand description
One server’s tools in a layer, as written (lists trimmed, deduplicated and sorted): those blocked, those allowed,
and what any other tool is (None: allowed).
Fields§
§allowed: Option<Vec<String>>§blocked: Option<Vec<String>>§default: Option<ToolDefault>Trait Implementations§
Source§impl Clone for ServerTools
impl Clone for ServerTools
Source§impl Debug for ServerTools
impl Debug for ServerTools
Source§impl Default for ServerTools
impl Default for ServerTools
impl Eq for ServerTools
Source§impl PartialEq for ServerTools
impl PartialEq for ServerTools
impl StructuralPartialEq for ServerTools
Auto Trait Implementations§
impl Forget for ServerTools
impl Freeze for ServerTools
impl Move for ServerTools
impl RefUnwindSafe for ServerTools
impl Send for ServerTools
impl Sync for ServerTools
impl Unpin for ServerTools
impl UnsafeUnpin for ServerTools
impl UnwindSafe for ServerTools
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