#[non_exhaustive]pub struct Review {
pub author: String,
pub state: String,
pub body: String,
pub submitted_at: String,
}Expand description
A submitted PR review (from gh pr view --json reviews).
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.Reviewer login.
state: StringReview state: "APPROVED", "CHANGES_REQUESTED", "COMMENTED",
"DISMISSED" or "PENDING".
body: StringReview body (may be empty).
submitted_at: StringSubmission timestamp (ISO 8601).
Trait Implementations§
impl Eq for Review
impl StructuralPartialEq for Review
Auto Trait Implementations§
impl Freeze for Review
impl RefUnwindSafe for Review
impl Send for Review
impl Sync for Review
impl Unpin for Review
impl UnsafeUnpin for Review
impl UnwindSafe for Review
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