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
impl Clone for MergeReport
Source§fn clone(&self) -> MergeReport
fn clone(&self) -> MergeReport
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more