pub struct Decision {
pub allowed: bool,
pub reason: Option<String>,
pub tokens: Vec<String>,
pub kind: Option<&'static str>,
pub targets: Vec<String>,
}Expand description
Decision about one tool call.
Fields§
§allowed: bool§reason: Option<String>§tokens: Vec<String>§kind: Option<&'static str>read or write when allowed
targets: Vec<String>Trait Implementations§
impl StructuralPartialEq for Decision
Auto Trait Implementations§
impl Freeze for Decision
impl RefUnwindSafe for Decision
impl Send for Decision
impl Sync for Decision
impl Unpin for Decision
impl UnsafeUnpin for Decision
impl UnwindSafe for Decision
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