pub struct Regret {
pub decision: String,
pub decision_session: String,
pub decision_task: String,
pub decision_proposal: String,
pub fix: String,
pub fix_subject: String,
pub diff: String,
pub fix_why: String,
pub signals: Vec<String>,
pub age_days: u32,
pub decision_ms: i64,
}Expand description
The decision and the fix that changed its lines.
Fields§
§decision: StringThe decision’s commit.
decision_session: String§decision_task: String§decision_proposal: StringThe end of the decision’s last proposal.
fix: StringThe fix’s commit.
fix_subject: String§diff: StringWhat the fix changed in the decision’s files (-/+ lines per file).
fix_why: StringThe fixing session’s own words (prompts, the end of its last proposal).
signals: Vec<String>§age_days: u32§decision_ms: i64When the decision was made, epoch ms: the decision commit’s committer time, or the review finding’s time. 0 when unknown (episodes from before it was kept): such a regret credits no lesson.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Regret
impl<'de> Deserialize<'de> for Regret
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
impl Eq for Regret
impl StructuralPartialEq for Regret
Auto Trait Implementations§
impl Freeze for Regret
impl RefUnwindSafe for Regret
impl Send for Regret
impl Sync for Regret
impl Unpin for Regret
impl UnsafeUnpin for Regret
impl UnwindSafe for Regret
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<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.