Skip to main content

MergeReport

Struct MergeReport 

Source
pub struct MergeReport {
Show 25 fields pub operator: OperatorCommandOutput, pub would_merge: bool, pub applied: bool, pub fast_forward: bool, pub preview_only: bool, pub merge_state: Option<String>, pub conflicts: Vec<String>, pub preview_summary: Vec<String>, pub thread_state: Option<String>, pub freshness: Option<String>, pub changed_paths: Vec<String>, pub changed_path_count: usize, pub impact_categories: Vec<String>, pub promotion_suggested: bool, pub heavy_impact_paths: Vec<String>, pub merge_relation: Option<String>, pub conflict_count: usize, pub thread_health: String, pub renames: Vec<RenameEntry>, pub directory_renames: Vec<RenameEntry>, pub semantic_changes: Option<Vec<SemanticChangeEntry>>, pub diff: Option<DiffReport>, pub git_commit_preview: Option<GitCommitPreview>, pub git_commit: Option<GitCommitInfo>, pub trust: Option<RepositoryVerificationState>,
}

Fields§

§operator: OperatorCommandOutput§would_merge: bool§applied: bool§fast_forward: bool§preview_only: bool§merge_state: Option<String>§conflicts: Vec<String>§preview_summary: Vec<String>§thread_state: Option<String>§freshness: Option<String>§changed_paths: Vec<String>§changed_path_count: usize§impact_categories: Vec<String>§promotion_suggested: bool§heavy_impact_paths: Vec<String>§merge_relation: Option<String>§conflict_count: usize§thread_health: String§renames: Vec<RenameEntry>§directory_renames: Vec<RenameEntry>§semantic_changes: Option<Vec<SemanticChangeEntry>>

Per-symbol deltas produced by the semantic driver (function_renamed, function_added, function_deleted, signature_changed, etc.). Present when semantic merge is active so agents can detect that semantic analysis ran and act on the rename/symbol mapping programmatically without parsing the line-by-line diff payload. Absent (not null) when --no-semantic is set or the build lacks semantic support. An empty array means “semantic ran but found no symbol-level deltas” (e.g. non-source files or a no-op fast-forward).

§diff: Option<DiffReport>

Diff between the parent’s tip and the thread’s tip. Populated only when the caller passes --with-diff. On a successful non-preview merge the from/to are the pre-merge parent tip and the thread tip — i.e. the change set that just landed.

§git_commit_preview: Option<GitCommitPreview>

Preview of the git commit that would be written if the user re-ran without --preview. Populated only with --git-commit --preview.

§git_commit: Option<GitCommitInfo>

Real git commit written by --git-commit on a non-preview merge. Populated only after a successful, non-conflict merge when --git-commit was set.

§trust: Option<RepositoryVerificationState>

Trait Implementations§

Source§

impl Clone for MergeReport

Source§

fn clone(&self) -> MergeReport

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for MergeReport

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Serialize for MergeReport

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> DynClone for T
where T: Clone,

Source§

fn __clone_box(&self, _: Private) -> *mut ()

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
Source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
Source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<T> Read<Exclusive, BecauseExclusive> for T
where T: ?Sized,

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<S, T> Upcast<T> for S
where T: UpcastFrom<S> + ?Sized, S: ?Sized,

Source§

fn upcast(&self) -> &T
where Self: ErasableGeneric, T: Sized + ErasableGeneric<Repr = Self::Repr>,

Perform a zero-cost type-safe upcast to a wider ref type within the Wasm bindgen generics type system. Read more
Source§

fn upcast_into(self) -> T
where Self: Sized + ErasableGeneric, T: Sized + ErasableGeneric<Repr = Self::Repr>,

Perform a zero-cost type-safe upcast to a wider type within the Wasm bindgen generics type system. Read more
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more