pub struct RequestedReview {
pub audience: RequestedReviewAudience,
pub body: Option<String>,
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.
body: Option<String>Optional PR body or MR description text for detail rendering.
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
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 RequestedReview
impl Debug for RequestedReview
impl Eq for RequestedReview
Source§impl PartialEq for RequestedReview
impl PartialEq for RequestedReview
Source§fn eq(&self, other: &RequestedReview) -> bool
fn eq(&self, other: &RequestedReview) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RequestedReview
Auto Trait Implementations§
impl Freeze for RequestedReview
impl RefUnwindSafe for RequestedReview
impl Send for RequestedReview
impl Sync for RequestedReview
impl Unpin for RequestedReview
impl UnsafeUnpin for RequestedReview
impl UnwindSafe for RequestedReview
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