pub struct ToolGatePolicyExtension {
pub gated_tool: String,
pub mode: ToolGateMode,
}Fields§
§gated_tool: String§mode: ToolGateModeImplementations§
Source§impl ToolGatePolicyExtension
impl ToolGatePolicyExtension
pub fn new(gated_tool: &str, mode: ToolGateMode) -> Self
Trait Implementations§
Source§impl Debug for ToolGatePolicyExtension
impl Debug for ToolGatePolicyExtension
Auto Trait Implementations§
impl Freeze for ToolGatePolicyExtension
impl RefUnwindSafe for ToolGatePolicyExtension
impl Send for ToolGatePolicyExtension
impl Sync for ToolGatePolicyExtension
impl Unpin for ToolGatePolicyExtension
impl UnsafeUnpin for ToolGatePolicyExtension
impl UnwindSafe for ToolGatePolicyExtension
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