pub struct LoopResult {
pub termination: TerminationReason,
pub final_message: Option<ProviderMessage>,
pub turns_used: u32,
pub pace_decision: Option<PaceDecision>,
}Expand description
What an agent loop produced.
Fields§
§termination: TerminationReason§final_message: Option<ProviderMessage>§turns_used: u32§pace_decision: Option<PaceDecision>Trait Implementations§
Source§impl Clone for LoopResult
impl Clone for LoopResult
Source§fn clone(&self) -> LoopResult
fn clone(&self) -> LoopResult
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 LoopResult
impl Debug for LoopResult
Source§impl<'de> Deserialize<'de> for LoopResult
impl<'de> Deserialize<'de> for LoopResult
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
Source§impl PartialEq for LoopResult
impl PartialEq for LoopResult
Source§impl Serialize for LoopResult
impl Serialize for LoopResult
impl StructuralPartialEq for LoopResult
Auto Trait Implementations§
impl Freeze for LoopResult
impl RefUnwindSafe for LoopResult
impl Send for LoopResult
impl Sync for LoopResult
impl Unpin for LoopResult
impl UnsafeUnpin for LoopResult
impl UnwindSafe for LoopResult
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