pub struct TaskFailed {
pub task_id: TaskId,
pub error: String,
pub error_kind: Option<String>,
pub partial_result: Option<String>,
pub thread_id: Option<ThreadId>,
pub turn_id: Option<TurnId>,
pub timestamp: OffsetDateTime,
}Fields§
§task_id: TaskId§error: String§error_kind: Option<String>§partial_result: Option<String>§thread_id: Option<ThreadId>§turn_id: Option<TurnId>§timestamp: OffsetDateTimeTrait Implementations§
Source§impl Clone for TaskFailed
impl Clone for TaskFailed
Source§fn clone(&self) -> TaskFailed
fn clone(&self) -> TaskFailed
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 TaskFailed
impl Debug for TaskFailed
Source§impl<'de> Deserialize<'de> for TaskFailed
impl<'de> Deserialize<'de> for TaskFailed
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 TaskFailed
impl PartialEq for TaskFailed
Source§fn eq(&self, other: &TaskFailed) -> bool
fn eq(&self, other: &TaskFailed) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TaskFailed
impl Serialize for TaskFailed
impl StructuralPartialEq for TaskFailed
Auto Trait Implementations§
impl Freeze for TaskFailed
impl RefUnwindSafe for TaskFailed
impl Send for TaskFailed
impl Sync for TaskFailed
impl Unpin for TaskFailed
impl UnsafeUnpin for TaskFailed
impl UnwindSafe for TaskFailed
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