pub struct ThreadIntegrationPolicy {
pub status: Option<String>,
pub reason: Option<String>,
pub manual_resolution_state: Option<String>,
pub conflicts_resolved_manually: bool,
}Fields§
§status: Option<String>§reason: Option<String>§manual_resolution_state: Option<String>§conflicts_resolved_manually: boolTrue only when manual_resolution_state was captured by an actual
human conflict resolution (heddle sync materialized conflicts, then
heddle resolve cleared them). False when the same field was set by a
fully-automatic conflict-free integration (e.g. a clean 3-way merge of
two threads that touch disjoint files). Both populate
manual_resolution_state to mark the thread land-ready, but only the
former should be reported as “manually resolved” to the operator.
Pre-existing on-disk records have no field and serde defaults to
false, so a stale clean-merge record never claims a manual resolution.
Trait Implementations§
Source§impl Clone for ThreadIntegrationPolicy
impl Clone for ThreadIntegrationPolicy
Source§fn clone(&self) -> ThreadIntegrationPolicy
fn clone(&self) -> ThreadIntegrationPolicy
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ThreadIntegrationPolicy
impl Debug for ThreadIntegrationPolicy
Source§impl Default for ThreadIntegrationPolicy
impl Default for ThreadIntegrationPolicy
Source§fn default() -> ThreadIntegrationPolicy
fn default() -> ThreadIntegrationPolicy
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ThreadIntegrationPolicy
impl<'de> Deserialize<'de> for ThreadIntegrationPolicy
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 ThreadIntegrationPolicy
impl RefUnwindSafe for ThreadIntegrationPolicy
impl Send for ThreadIntegrationPolicy
impl Sync for ThreadIntegrationPolicy
impl Unpin for ThreadIntegrationPolicy
impl UnsafeUnpin for ThreadIntegrationPolicy
impl UnwindSafe for ThreadIntegrationPolicy
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