pub struct CorrectionAttemptRow {
pub session_id: String,
pub node_id: String,
pub attempt: i32,
pub parse_state: String,
pub retry_classification: Option<String>,
pub response_fingerprint: String,
pub response_length: i32,
pub energy_json: Option<String>,
pub accepted: bool,
pub rejection_reason: Option<String>,
pub created_at: i64,
}Expand description
PSP-7: Record for a single correction attempt within a convergence loop.
Fields§
§session_id: String§node_id: String§attempt: i32§parse_state: String§retry_classification: Option<String>§response_fingerprint: String§response_length: i32§energy_json: Option<String>JSON-serialized EnergyComponents snapshot (if available).
accepted: bool§rejection_reason: Option<String>§created_at: i64Epoch seconds.
Trait Implementations§
Source§impl Clone for CorrectionAttemptRow
impl Clone for CorrectionAttemptRow
Source§fn clone(&self) -> CorrectionAttemptRow
fn clone(&self) -> CorrectionAttemptRow
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 moreSource§impl Debug for CorrectionAttemptRow
impl Debug for CorrectionAttemptRow
Source§impl<'de> Deserialize<'de> for CorrectionAttemptRow
impl<'de> Deserialize<'de> for CorrectionAttemptRow
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 CorrectionAttemptRow
impl RefUnwindSafe for CorrectionAttemptRow
impl Send for CorrectionAttemptRow
impl Sync for CorrectionAttemptRow
impl Unpin for CorrectionAttemptRow
impl UnsafeUnpin for CorrectionAttemptRow
impl UnwindSafe for CorrectionAttemptRow
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