pub struct CallFunctionBody {
pub call: String,
pub args: Option<Value>,
}Expand description
Agent-initiated function call (A2UI v1.0).
Fields§
§call: String§args: Option<Value>Trait Implementations§
Source§impl Clone for CallFunctionBody
impl Clone for CallFunctionBody
Source§fn clone(&self) -> CallFunctionBody
fn clone(&self) -> CallFunctionBody
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CallFunctionBody
impl Debug for CallFunctionBody
Source§impl<'de> Deserialize<'de> for CallFunctionBody
impl<'de> Deserialize<'de> for CallFunctionBody
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CallFunctionBody
impl RefUnwindSafe for CallFunctionBody
impl Send for CallFunctionBody
impl Sync for CallFunctionBody
impl Unpin for CallFunctionBody
impl UnsafeUnpin for CallFunctionBody
impl UnwindSafe for CallFunctionBody
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