pub struct BackendRunResult {
pub agent_id: String,
pub status: BackendRunStatus,
pub termination: TerminationReason,
pub status_reason: Option<String>,
pub response: Option<String>,
pub output: BackendRunOutput,
pub steps: usize,
pub run_id: Option<String>,
pub inbox: Option<InboxSender>,
pub state: Option<PersistedState>,
}Expand description
Result of executing an agent through a runtime backend.
Fields§
§agent_id: String§status: BackendRunStatus§termination: TerminationReason§status_reason: Option<String>§response: Option<String>§output: BackendRunOutput§steps: usize§run_id: Option<String>§inbox: Option<InboxSender>§state: Option<PersistedState>Trait Implementations§
Source§impl Clone for BackendRunResult
impl Clone for BackendRunResult
Source§fn clone(&self) -> BackendRunResult
fn clone(&self) -> BackendRunResult
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 BackendRunResult
impl !RefUnwindSafe for BackendRunResult
impl Send for BackendRunResult
impl Sync for BackendRunResult
impl Unpin for BackendRunResult
impl UnsafeUnpin for BackendRunResult
impl !UnwindSafe for BackendRunResult
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