pub struct MergeResult {
pub sha: Option<String>,
pub branch_deleted: Option<bool>,
pub mergeable: Option<bool>,
pub dry_run: Option<bool>,
pub conflict_files: Vec<String>,
pub allowed_methods: Vec<MergeMethod>,
}Expand description
The answer to a merge attempt.
A dry_run merge returns the same shape with mergeable telling you whether
the real thing would work — which is what gf pr merge --dry-run reports.
Fields§
§sha: Option<String>§branch_deleted: Option<bool>§mergeable: Option<bool>§dry_run: Option<bool>§conflict_files: Vec<String>§allowed_methods: Vec<MergeMethod>Trait Implementations§
Source§impl Clone for MergeResult
impl Clone for MergeResult
Source§impl Debug for MergeResult
impl Debug for MergeResult
Source§impl Default for MergeResult
impl Default for MergeResult
Source§impl<'de> Deserialize<'de> for MergeResult
impl<'de> Deserialize<'de> for MergeResult
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
Auto Trait Implementations§
impl Forget for MergeResult
impl Freeze for MergeResult
impl RefUnwindSafe for MergeResult
impl Send for MergeResult
impl Sync for MergeResult
impl Unpin for MergeResult
impl UnsafeUnpin for MergeResult
impl UnwindSafe for MergeResult
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