pub struct ToolMessageUpdate {
pub message: Option<Message>,
pub new_context: Option<ToolContext>,
pub context_modifier: Option<ContextModifier>,
}Expand description
Message update for tool orchestration
Fields§
§message: Option<Message>The message to add to the conversation
new_context: Option<ToolContext>Updated context after this tool (for serial execution)
context_modifier: Option<ContextModifier>Context modifiers for this tool result (for contextModifier support)
Trait Implementations§
Source§impl Clone for ToolMessageUpdate
impl Clone for ToolMessageUpdate
Source§fn clone(&self) -> ToolMessageUpdate
fn clone(&self) -> ToolMessageUpdate
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 ToolMessageUpdate
impl RefUnwindSafe for ToolMessageUpdate
impl Send for ToolMessageUpdate
impl Sync for ToolMessageUpdate
impl Unpin for ToolMessageUpdate
impl UnsafeUnpin for ToolMessageUpdate
impl UnwindSafe for ToolMessageUpdate
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