pub struct Review {
pub key: ReviewKey,
pub title: String,
pub author: String,
pub url: String,
pub repo: RepoRef,
pub version: String,
pub kind: ReviewKind,
pub diff_stat: Option<String>,
pub description: Option<String>,
pub ancestors: Vec<ReviewKey>,
}Fields§
§key: ReviewKey§title: String§url: String§repo: RepoRef§version: StringDiff ID / head SHA (or comma-joined stack of diff IDs for Phabricator). Used to detect updates that require re-syncing the workspace.
kind: ReviewKind§diff_stat: Option<String>Diffstat (same summary format git diff --stat/jj diff --stat print), fetched
best-effort as part of the same fetch_queue() call that built this Review - None if
the source couldn’t get one (no active diff, a Conduit/API hiccup, etc). Carried straight
into state.json’s ReviewEntry so rq show’s TUI can show it with no further network
calls of its own.
description: Option<String>The PR description / Phabricator revision summary (the commit message body - the title is
carried separately in title). Carried into state.json alongside diff_stat so the TUI
can show it with no network calls of its own.
ancestors: Vec<ReviewKey>This review’s ancestors within its stack, bottom-most first, excluding itself and any already-landed ones (those are part of the base). Empty for a review that isn’t stacked.