pub struct StoredReview {
pub workflow: ReviewWorkflow,
pub generation: u64,
pub context_baseline: u64,
pub native_lost: bool,
pub reviewer_transcript: Vec<Arc<TranscriptItem>>,
}Expand description
A second-opinion review that was still open when the UI last stopped.
Fields§
§workflow: ReviewWorkflow§generation: u64Reviewer lifetime this review belongs to. It is bumped when native continuity is lost, so a resumed session starts a new conversation rather than pretending to reload one that is gone.
context_baseline: u64The primary’s transcript frontier when the context request went out.
native_lost: boolWhether the reviewer’s native session is known to be gone.
reviewer_transcript: Vec<Arc<TranscriptItem>>What the controller has read of the reviewer’s conversation. The reviewer’s own journal is the source, but it dies with the target, so this copy is what keeps a finished review readable afterwards.
Trait Implementations§
Source§impl Clone for StoredReview
impl Clone for StoredReview
Source§fn clone(&self) -> StoredReview
fn clone(&self) -> StoredReview
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 StoredReview
impl Debug for StoredReview
Source§impl<'de> Deserialize<'de> for StoredReview
impl<'de> Deserialize<'de> for StoredReview
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<StoredReview, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<StoredReview, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for StoredReview
impl PartialEq for StoredReview
Source§impl Serialize for StoredReview
impl Serialize for StoredReview
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 StoredReview
Auto Trait Implementations§
impl Freeze for StoredReview
impl RefUnwindSafe for StoredReview
impl Send for StoredReview
impl Sync for StoredReview
impl Unpin for StoredReview
impl UnsafeUnpin for StoredReview
impl UnwindSafe for StoredReview
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.