pub struct CorrectionRecord {
pub id: String,
pub failed_subtask: String,
pub error_category: String,
pub original_error: String,
pub strategy: CorrectionStrategy,
pub success: bool,
pub timestamp: DateTime<Utc>,
}Expand description
纠错记录
Fields§
§id: String记录ID
failed_subtask: String失败的子任务ID
error_category: String错误类型 (字符串表示)
original_error: String原始错误消息
strategy: CorrectionStrategy应用的纠错策略
success: bool纠错是否成功
timestamp: DateTime<Utc>时间戳
Trait Implementations§
Source§impl Clone for CorrectionRecord
impl Clone for CorrectionRecord
Source§fn clone(&self) -> CorrectionRecord
fn clone(&self) -> CorrectionRecord
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 CorrectionRecord
impl Debug for CorrectionRecord
Source§impl<'de> Deserialize<'de> for CorrectionRecord
impl<'de> Deserialize<'de> for CorrectionRecord
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
Auto Trait Implementations§
impl Freeze for CorrectionRecord
impl RefUnwindSafe for CorrectionRecord
impl Send for CorrectionRecord
impl Sync for CorrectionRecord
impl Unpin for CorrectionRecord
impl UnsafeUnpin for CorrectionRecord
impl UnwindSafe for CorrectionRecord
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