pub enum ConversationStatus {
Succeeded,
Interrupted,
Failed,
Stopped,
}Expand description
Final run status of a conversation
Variants§
Succeeded
The run completed successfully
Interrupted
The run is paused, waiting for
crate::AgentContext::continue_conversation
Failed
The run failed
Stopped
The run was stopped
Trait Implementations§
Source§impl Clone for ConversationStatus
impl Clone for ConversationStatus
Source§fn clone(&self) -> ConversationStatus
fn clone(&self) -> ConversationStatus
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 ConversationStatus
impl Debug for ConversationStatus
Source§impl<'de> Deserialize<'de> for ConversationStatus
impl<'de> Deserialize<'de> for ConversationStatus
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 ConversationStatus
impl PartialEq for ConversationStatus
Source§fn eq(&self, other: &ConversationStatus) -> bool
fn eq(&self, other: &ConversationStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ConversationStatus
impl Serialize for ConversationStatus
impl Copy for ConversationStatus
impl Eq for ConversationStatus
impl StructuralPartialEq for ConversationStatus
Auto Trait Implementations§
impl Freeze for ConversationStatus
impl RefUnwindSafe for ConversationStatus
impl Send for ConversationStatus
impl Sync for ConversationStatus
impl Unpin for ConversationStatus
impl UnsafeUnpin for ConversationStatus
impl UnwindSafe for ConversationStatus
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more