#[non_exhaustive]pub struct PrFeedback {
pub reviews: Vec<Review>,
pub comments: Vec<Comment>,
}Expand description
The review/comment feedback on a PR (gh pr view --json reviews,comments).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.reviews: Vec<Review>Submitted reviews, oldest first (gh’s order).
comments: Vec<Comment>Conversation comments, oldest first (gh’s order).
Trait Implementations§
Source§impl Clone for PrFeedback
impl Clone for PrFeedback
Source§fn clone(&self) -> PrFeedback
fn clone(&self) -> PrFeedback
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 PrFeedback
impl Debug for PrFeedback
impl Eq for PrFeedback
Source§impl PartialEq for PrFeedback
impl PartialEq for PrFeedback
Source§fn eq(&self, other: &PrFeedback) -> bool
fn eq(&self, other: &PrFeedback) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PrFeedback
Auto Trait Implementations§
impl Freeze for PrFeedback
impl RefUnwindSafe for PrFeedback
impl Send for PrFeedback
impl Sync for PrFeedback
impl Unpin for PrFeedback
impl UnsafeUnpin for PrFeedback
impl UnwindSafe for PrFeedback
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