pub struct AgentActivityActionContent {
pub type: Option<AgentActivityType>,
pub action: Option<String>,
pub parameter: Option<String>,
pub result: Option<String>,
pub result_data: Option<Value>,
}Expand description
Content for an action activity (tool call or action).
Fields§
§type: Option<AgentActivityType>The type of activity.
action: Option<String>The action being performed.
parameter: Option<String>The parameters for the action, e.g. a file path, a keyword, etc.
result: Option<String>The result of the action in Markdown format.
result_data: Option<Value>Internal The result content as ProseMirror document.
Trait Implementations§
Source§impl Clone for AgentActivityActionContent
impl Clone for AgentActivityActionContent
Source§fn clone(&self) -> AgentActivityActionContent
fn clone(&self) -> AgentActivityActionContent
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 moreSource§impl Debug for AgentActivityActionContent
impl Debug for AgentActivityActionContent
Source§impl Default for AgentActivityActionContent
impl Default for AgentActivityActionContent
Source§fn default() -> AgentActivityActionContent
fn default() -> AgentActivityActionContent
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AgentActivityActionContentwhere
AgentActivityActionContent: Default,
impl<'de> Deserialize<'de> for AgentActivityActionContentwhere
AgentActivityActionContent: Default,
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 AgentActivityActionContent
impl RefUnwindSafe for AgentActivityActionContent
impl Send for AgentActivityActionContent
impl Sync for AgentActivityActionContent
impl Unpin for AgentActivityActionContent
impl UnwindSafe for AgentActivityActionContent
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