pub struct TurnReviewState {
pub baselines: BTreeMap<PathBuf, String>,
pub reviewed_through_ordinal: u64,
pub prior_review: Option<PriorReviewContext>,
pub active: Option<String>,
pub pending_forward: Option<PendingForward>,
}Expand description
How far this session has been reviewed.
baselines are Git tree ids by repository root: the working tree as of the
last completed review. They advance only when a review resolves, which is
what makes a cancelled review lossless – the next one covers both turns.
Fields§
§baselines: BTreeMap<PathBuf, String>§reviewed_through_ordinal: u64§prior_review: Option<PriorReviewContext>The last forwarded verdict, which turns the next review into a verification pass. Cleared once that pass consumes it.
active: Option<String>A review that was running when the daemon stopped. On recovery it is cleared without advancing the baseline.
pending_forward: Option<PendingForward>A corrective prompt that was submitted while its relay acceptance was still ambiguous. It survives a daemon restart so the exact command can be retried and reconciled without losing the findings.
Trait Implementations§
Source§impl Clone for TurnReviewState
impl Clone for TurnReviewState
Source§fn clone(&self) -> TurnReviewState
fn clone(&self) -> TurnReviewState
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 TurnReviewState
impl Debug for TurnReviewState
Source§impl Default for TurnReviewState
impl Default for TurnReviewState
Source§fn default() -> TurnReviewState
fn default() -> TurnReviewState
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TurnReviewState
impl<'de> Deserialize<'de> for TurnReviewState
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<TurnReviewState, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<TurnReviewState, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for TurnReviewState
impl PartialEq for TurnReviewState
Source§impl Serialize for TurnReviewState
impl Serialize for TurnReviewState
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for TurnReviewState
Auto Trait Implementations§
impl Freeze for TurnReviewState
impl RefUnwindSafe for TurnReviewState
impl Send for TurnReviewState
impl Sync for TurnReviewState
impl Unpin for TurnReviewState
impl UnsafeUnpin for TurnReviewState
impl UnwindSafe for TurnReviewState
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 moreSource§impl<T> IntoMaybeUndefined<T> for T
impl<T> IntoMaybeUndefined<T> for T
Source§fn into_maybe_undefined(self) -> MaybeUndefined<T>
fn into_maybe_undefined(self) -> MaybeUndefined<T>
Converts this value into a three-state builder argument.
Source§impl<T> IntoOption<T> for T
impl<T> IntoOption<T> for T
Source§fn into_option(self) -> Option<T>
fn into_option(self) -> Option<T>
Converts this value into an optional builder argument.