pub enum PrHandoff {
NeedsPush {
command: String,
remote: String,
branch: String,
},
ReadyToCreate {
command: String,
title: String,
body: String,
remote: String,
branch: String,
base: String,
},
Unavailable {
reason: String,
},
}Expand description
What the operator should do next for a completed mission branch.
Variants§
NeedsPush
Branch is not on the remote yet — show a copyable push; never run it.
ReadyToCreate
Remote branch exists — ready for gh pr create (or the prefilled cmd).
Missing GitHub remote, gh, auth, etc.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PrHandoff
impl<'de> Deserialize<'de> for PrHandoff
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for PrHandoff
impl StructuralPartialEq for PrHandoff
Auto Trait Implementations§
impl Freeze for PrHandoff
impl RefUnwindSafe for PrHandoff
impl Send for PrHandoff
impl Sync for PrHandoff
impl Unpin for PrHandoff
impl UnsafeUnpin for PrHandoff
impl UnwindSafe for PrHandoff
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