pub struct ToolCheckDecidedPayload {
pub actor: String,
pub tool: String,
pub registered: bool,
pub decision: String,
pub source: String,
pub id: Option<String>,
pub scope: Option<String>,
pub caller_verb: String,
pub registry_id: Option<String>,
pub definition_digest: Option<String>,
pub args_digest: Option<String>,
}Expand description
The decision computed for one tool-use policy check.
Fields§
§actor: String§tool: String§registered: bool§decision: String§source: String§id: Option<String>§scope: Option<String>§caller_verb: String§registry_id: Option<String>Id of the registry row the decision was evaluated against. Set for
tool.call (ADR-180 Amendment 9 item 2) and absent otherwise.
definition_digest: Option<String>Definition digest of that registry row, set and absent with registry_id.
args_digest: Option<String>Digest of the call’s arguments, set when the decision was computed for a described call (ADR-180 Amendment 14 item 5). The arguments are deliberately absent.
Trait Implementations§
Source§impl Clone for ToolCheckDecidedPayload
impl Clone for ToolCheckDecidedPayload
Source§impl Debug for ToolCheckDecidedPayload
impl Debug for ToolCheckDecidedPayload
impl Eq for ToolCheckDecidedPayload
Source§impl PartialEq for ToolCheckDecidedPayload
impl PartialEq for ToolCheckDecidedPayload
impl StructuralPartialEq for ToolCheckDecidedPayload
Auto Trait Implementations§
impl Forget for ToolCheckDecidedPayload
impl Freeze for ToolCheckDecidedPayload
impl Move for ToolCheckDecidedPayload
impl RefUnwindSafe for ToolCheckDecidedPayload
impl Send for ToolCheckDecidedPayloadwhere
RawVecInner: Send,
impl Sync for ToolCheckDecidedPayloadwhere
RawVecInner: Sync,
impl Unpin for ToolCheckDecidedPayload
impl UnsafeUnpin for ToolCheckDecidedPayload
impl UnwindSafe for ToolCheckDecidedPayloadwhere
RawVecInner: UnwindSafe,
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