pub struct EnhanceLogEntry {
pub issue_id: IssueId,
pub blueprint_id: BlueprintId,
pub prev_hash: String,
pub new_hash: String,
pub intent: String,
pub rationale: String,
pub verdicts: Vec<VerdictSummary>,
pub status: String,
pub reasons: Vec<String>,
pub ts_ms: i64,
}Expand description
Trace of one enhance invocation. Both Applied and Rejected cases
produce a single entry.
Fields§
§issue_id: IssueIdThe Issue that triggered this enhance invocation.
blueprint_id: BlueprintIdThe Blueprint targeted by the patch.
prev_hash: StringContent hash of the Blueprint before this invocation.
new_hash: StringApplied — the hash of the patched form. Rejected — "" (no
application happened).
intent: StringThe natural-language intent that drove the patch spawner.
rationale: StringThe committer’s rationale for the applied/rejected verdict.
verdicts: Vec<VerdictSummary>Per-axis verifier verdicts (one per entry in verifier_axes).
status: String"applied" or "rejected".
reasons: Vec<String>For Rejected: deny reasons in "axis: reason" form.
ts_ms: i64Epoch ms — stamped by the caller.
Trait Implementations§
Source§impl Clone for EnhanceLogEntry
impl Clone for EnhanceLogEntry
Source§fn clone(&self) -> EnhanceLogEntry
fn clone(&self) -> EnhanceLogEntry
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 EnhanceLogEntry
impl Debug for EnhanceLogEntry
Source§impl<'de> Deserialize<'de> for EnhanceLogEntry
impl<'de> Deserialize<'de> for EnhanceLogEntry
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 EnhanceLogEntry
impl PartialEq for EnhanceLogEntry
Source§fn eq(&self, other: &EnhanceLogEntry) -> bool
fn eq(&self, other: &EnhanceLogEntry) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for EnhanceLogEntry
impl Serialize for EnhanceLogEntry
impl StructuralPartialEq for EnhanceLogEntry
Auto Trait Implementations§
impl Freeze for EnhanceLogEntry
impl RefUnwindSafe for EnhanceLogEntry
impl Send for EnhanceLogEntry
impl Sync for EnhanceLogEntry
impl Unpin for EnhanceLogEntry
impl UnsafeUnpin for EnhanceLogEntry
impl UnwindSafe for EnhanceLogEntry
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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