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.
Implementations§
Source§impl ThreadIntegrationPolicy
impl ThreadIntegrationPolicy
Sourcepub fn clear_untrusted_landing_fields(&mut self)
pub fn clear_untrusted_landing_fields(&mut self)
Zero landing fields an unauthenticated peer can forge.
Trait Implementations§
Source§impl Clone for ThreadIntegrationPolicy
impl Clone for ThreadIntegrationPolicy
Source§impl Debug for ThreadIntegrationPolicy
impl Debug for ThreadIntegrationPolicy
Source§impl Default for ThreadIntegrationPolicy
impl Default for ThreadIntegrationPolicy
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
Source§impl JsonSchema for ThreadIntegrationPolicy
impl JsonSchema for ThreadIntegrationPolicy
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto 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