pub struct ToolPolicyDecision {
pub allowed: bool,
pub reason: Option<String>,
}Fields§
§allowed: bool§reason: Option<String>Trait Implementations§
Source§impl Clone for ToolPolicyDecision
impl Clone for ToolPolicyDecision
Source§fn clone(&self) -> ToolPolicyDecision
fn clone(&self) -> ToolPolicyDecision
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ToolPolicyDecision
impl RefUnwindSafe for ToolPolicyDecision
impl Send for ToolPolicyDecision
impl Sync for ToolPolicyDecision
impl Unpin for ToolPolicyDecision
impl UnsafeUnpin for ToolPolicyDecision
impl UnwindSafe for ToolPolicyDecision
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