#[non_exhaustive]pub struct PullRequestSummary {
pub total: u32,
pub open: u32,
pub closed: u32,
pub merged: u32,
pub checks: Option<String>,
}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.total: u32§open: u32§closed: u32§merged: u32§checks: Option<String>The service’s checks state; unknown values remain forward compatible.
Implementations§
Trait Implementations§
Source§impl Clone for PullRequestSummary
impl Clone for PullRequestSummary
impl Eq for PullRequestSummary
Source§impl PartialEq for PullRequestSummary
impl PartialEq for PullRequestSummary
impl StructuralPartialEq for PullRequestSummary
Auto Trait Implementations§
impl Forget for PullRequestSummary
impl Freeze for PullRequestSummary
impl Move for PullRequestSummary
impl RefUnwindSafe for PullRequestSummary
impl Send for PullRequestSummarywhere
RawVecInner: Send,
impl Sync for PullRequestSummarywhere
RawVecInner: Sync,
impl Unpin for PullRequestSummary
impl UnsafeUnpin for PullRequestSummary
impl UnwindSafe for PullRequestSummarywhere
RawVecInner: UnwindSafe,
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