pub struct ApprovalCall<'a> {
pub arguments: &'a Value,
pub as_sent: &'a Value,
pub refused: bool,
}Expand description
One call as the kernel’s approval rules show it to
ToolSemantics::owner_approval_request.
Fields§
§arguments: &'a ValueThe arguments the dispatcher will execute (for a tool whose calls the kernel judges in canonical form, the canonical form; otherwise the model’s own).
as_sent: &'a ValueThe arguments as the model sent them, for a card about a call whose arguments cannot be read.
refused: boolThe dispatcher refuses this call before it runs (an out-of-scope target nobody may authorize), so nothing about it needs the owner.
Implementations§
Trait Implementations§
Source§impl<'a> Clone for ApprovalCall<'a>
impl<'a> Clone for ApprovalCall<'a>
impl<'a> Copy for ApprovalCall<'a>
Auto Trait Implementations§
impl<'a> Forget for ApprovalCall<'a>
impl<'a> Freeze for ApprovalCall<'a>
impl<'a> Move for ApprovalCall<'a>
impl<'a> RefUnwindSafe for ApprovalCall<'a>
impl<'a> Send for ApprovalCall<'a>
impl<'a> Sync for ApprovalCall<'a>
impl<'a> Unpin for ApprovalCall<'a>
impl<'a> UnsafeUnpin for ApprovalCall<'a>where
&'a Value: UnsafeUnpin,
impl<'a> UnwindSafe for ApprovalCall<'a>where
&'a Value: 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