pub enum PrState {
Open,
Merged {
method: MergeMethod,
merge_commit: Option<String>,
},
Closed,
}Expand description
PR state from GitHub
Variants§
Open
PR is open
Merged
PR was merged
Fields
§
method: MergeMethodHow the PR was merged
Closed
PR was closed without merging
Implementations§
Trait Implementations§
impl Eq for PrState
impl StructuralPartialEq for PrState
Auto Trait Implementations§
impl Freeze for PrState
impl RefUnwindSafe for PrState
impl Send for PrState
impl Sync for PrState
impl Unpin for PrState
impl UnwindSafe for PrState
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