pub struct MergeResult {
pub merged: bool,
pub merge_commit: Option<String>,
pub message: String,
pub metadata: HashMap<String, String>,
}Expand description
Result of merging a review (PR, shelved CL, etc.) into the target branch.
Fields§
§merged: boolWhether the merge was completed (false = pending CI, auto-merge enabled).
merge_commit: Option<String>Merge commit SHA or changelist number (if available).
message: StringHuman-readable message about what happened.
metadata: HashMap<String, String>Adapter-specific metadata.
Trait Implementations§
Source§impl Clone for MergeResult
impl Clone for MergeResult
Source§fn clone(&self) -> MergeResult
fn clone(&self) -> MergeResult
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MergeResult
impl Debug 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 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