pub struct FunctionCallInfo {
pub name: String,
pub arguments: String,
pub requires_approval: bool,
pub timestamp: Option<DateTime<Utc>>,
}Expand description
Information about a function call, tracked for enriching output events.
Fields§
§name: StringThe function name (e.g., “shell_command”)
arguments: StringThe function arguments as JSON string
requires_approval: boolWhether this call requires user approval (sandbox_permissions: “require_escalated”)
timestamp: Option<DateTime<Utc>>Timestamp of the function call
Trait Implementations§
Source§impl Clone for FunctionCallInfo
impl Clone for FunctionCallInfo
Source§fn clone(&self) -> FunctionCallInfo
fn clone(&self) -> FunctionCallInfo
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 FunctionCallInfo
impl RefUnwindSafe for FunctionCallInfo
impl Send for FunctionCallInfo
impl Sync for FunctionCallInfo
impl Unpin for FunctionCallInfo
impl UnwindSafe for FunctionCallInfo
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