pub struct RequestedReview {
pub audience: RequestedReviewAudience,
pub author: String,
pub body: Option<String>,
pub comment_snapshot: Option<ReviewCommentSnapshot>,
pub display_id: String,
pub forge_kind: ForgeKind,
pub repository: String,
pub status_summary: Option<String>,
pub title: String,
pub updated_at: Option<String>,
pub web_url: String,
}Expand description
Normalized row for one open PR or MR requesting the current user’s attention.
Fields§
§audience: RequestedReviewAudienceWhether the review request targets the user directly or through a group membership.
Login or display name of the user who opened the review request.
body: Option<String>Optional PR body or MR description text for detail rendering.
comment_snapshot: Option<ReviewCommentSnapshot>Optional review-request comments fetched for detail rendering.
None means the caller listed the requested review without loading
the heavier comment snapshot yet.
display_id: StringProvider display id such as GitHub #123 or GitLab !123.
forge_kind: ForgeKindForge family that owns the review request.
repository: StringRepository path shown for the requested review, such as owner/repo.
status_summary: Option<String>Provider-specific condensed status text for UI display.
title: StringRemote review-request title.
updated_at: Option<String>Provider update timestamp, when the CLI returns one.
web_url: StringBrowser-openable review-request URL.
Trait Implementations§
Source§impl Clone for RequestedReview
impl Clone for RequestedReview
Source§fn clone(&self) -> RequestedReview
fn clone(&self) -> RequestedReview
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more