pub struct CompositionResult {
pub success: bool,
pub result: ToolResult,
pub context: ExecutionContext,
}Expand description
Result of a composition execution
Contains the final tool result, success status, and updated execution context after running a composition workflow.
Fields§
§success: boolWhether the composition completed successfully
result: ToolResultThe final result from the last executed tool
context: ExecutionContextThe execution context with accumulated variables and state
Trait Implementations§
Source§impl Clone for CompositionResult
impl Clone for CompositionResult
Source§fn clone(&self) -> CompositionResult
fn clone(&self) -> CompositionResult
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 CompositionResult
impl RefUnwindSafe for CompositionResult
impl Send for CompositionResult
impl Sync for CompositionResult
impl Unpin for CompositionResult
impl UnsafeUnpin for CompositionResult
impl UnwindSafe for CompositionResult
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