pub struct RuntimeReviewView {
pub session_id: String,
pub tier: ReviewTier,
pub phase: TurnReviewPhase,
pub roles: Vec<RoleStatus>,
pub status: String,
pub verdict: Option<VerdictView>,
}Expand description
What the host tells a surface about one running review.
Fields§
§session_id: String§tier: ReviewTier§phase: TurnReviewPhase§roles: Vec<RoleStatus>§status: StringWhat the review is doing, in one line.
verdict: Option<VerdictView>Present once the review has reached a verdict the user must answer.
Implementations§
Source§impl RuntimeReviewView
impl RuntimeReviewView
Sourcepub fn is_working(&self) -> bool
pub fn is_working(&self) -> bool
Whether progress indicators should move. A verdict and a failed handoff wait for the user even though they retain an activity label.
Sourcepub fn activity_label(&self) -> Option<&'static str>
pub fn activity_label(&self) -> Option<&'static str>
A compact activity label for session lists and headers. Read typed state rather than matching the driver’s human-facing progress text.
Trait Implementations§
Source§impl Clone for RuntimeReviewView
impl Clone for RuntimeReviewView
Source§fn clone(&self) -> RuntimeReviewView
fn clone(&self) -> RuntimeReviewView
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 RuntimeReviewView
impl Debug for RuntimeReviewView
Source§impl<'de> Deserialize<'de> for RuntimeReviewView
impl<'de> Deserialize<'de> for RuntimeReviewView
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<RuntimeReviewView, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<RuntimeReviewView, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for RuntimeReviewView
impl PartialEq for RuntimeReviewView
Source§impl Serialize for RuntimeReviewView
impl Serialize for RuntimeReviewView
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 RuntimeReviewView
Auto Trait Implementations§
impl Freeze for RuntimeReviewView
impl RefUnwindSafe for RuntimeReviewView
impl Send for RuntimeReviewView
impl Sync for RuntimeReviewView
impl Unpin for RuntimeReviewView
impl UnsafeUnpin for RuntimeReviewView
impl UnwindSafe for RuntimeReviewView
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.