pub struct PrReviewBatchData {
pub merged: bool,
pub mergeable: Option<bool>,
pub reviews: Vec<GitHubReview>,
pub review_comments: Vec<GitHubReviewComment>,
pub issue_comments: Vec<GitHubComment>,
}Expand description
Data fetched for one PR by GhHttp::batch_fetch_pr_review_data.
Fields§
§merged: boolTrue when the pull request was merged.
mergeable: Option<bool>Some(true) = MERGEABLE, Some(false) = CONFLICTING, None = UNKNOWN.
reviews: Vec<GitHubReview>All reviews submitted on the PR.
review_comments: Vec<GitHubReviewComment>All inline review comments (from all review threads).
issue_comments: Vec<GitHubComment>All issue-level comments on the PR.
Trait Implementations§
Source§impl Clone for PrReviewBatchData
impl Clone for PrReviewBatchData
Source§impl Debug for PrReviewBatchData
impl Debug for PrReviewBatchData
Auto Trait Implementations§
impl Freeze for PrReviewBatchData
impl RefUnwindSafe for PrReviewBatchData
impl Send for PrReviewBatchData
impl Sync for PrReviewBatchData
impl Unpin for PrReviewBatchData
impl UnsafeUnpin for PrReviewBatchData
impl UnwindSafe for PrReviewBatchData
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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 more