pub struct Invocation {
pub arguments: Value,
pub approval: Arc<dyn Approval>,
pub monitor: Arc<dyn CallMonitor>,
}Expand description
One call of a tool.
Fields§
§arguments: Value§approval: Arc<dyn Approval>§monitor: Arc<dyn CallMonitor>Auto Trait Implementations§
impl !RefUnwindSafe for Invocation
impl !UnwindSafe for Invocation
impl Forget for Invocation
impl Freeze for Invocationwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<Value>: Freeze,
*const LeafNode<String, Value> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, Value)>>: Freeze,
*const ArcInner<dyn Approval> is !null: Freeze,
PhantomData<ArcInner<dyn Approval>>: Freeze,
*const ArcInner<dyn CallMonitor> is !null: Freeze,
PhantomData<ArcInner<dyn CallMonitor>>: Freeze,
impl Move for Invocation
impl Send for Invocation
impl Sync for Invocation
impl Unpin for Invocation
impl UnsafeUnpin for Invocationwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Value>: UnsafeUnpin,
*const LeafNode<String, Value> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, Value)>>: UnsafeUnpin,
*const ArcInner<dyn Approval> is !null: UnsafeUnpin,
PhantomData<ArcInner<dyn Approval>>: UnsafeUnpin,
*const ArcInner<dyn CallMonitor> is !null: UnsafeUnpin,
PhantomData<ArcInner<dyn CallMonitor>>: UnsafeUnpin,
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