pub struct ReviewRequestSummary {
pub display_id: String,
pub forge_kind: ForgeKind,
pub source_branch: String,
pub state: ReviewRequestState,
pub status_summary: Option<String>,
pub target_branch: String,
pub title: String,
pub web_url: String,
}Expand description
Normalized remote summary for one linked review request.
Local session lifecycle transitions such as Rebasing, Done, and
Canceled retain this metadata so the session can continue to reference the
same remote review request. Remote terminal outcomes are stored in
state instead of clearing the link; only an explicit unlink action or
session deletion should remove this metadata.
Fields§
§display_id: StringProvider display id such as GitHub #123.
forge_kind: ForgeKindForge family that owns the linked review request.
source_branch: StringSource branch published for review.
state: ReviewRequestStateLatest normalized remote lifecycle state.
status_summary: Option<String>Provider-specific condensed status text for UI display.
target_branch: StringTarget branch receiving the review request.
title: StringRemote review-request title.
web_url: StringBrowser-openable review-request URL.
Implementations§
Source§impl ReviewRequestSummary
impl ReviewRequestSummary
Sourcepub const GITHUB_READY_STATUS_COMPONENT: &str = "PR ready"
pub const GITHUB_READY_STATUS_COMPONENT: &str = "PR ready"
Status-summary component persisted for a GitHub PR with a clean merge state at the latest forge refresh.
Sourcepub fn is_github_pr_ready(&self) -> bool
pub fn is_github_pr_ready(&self) -> bool
Returns whether the latest GitHub refresh marked this open PR ready.