pub struct Discussion {
pub id: DiscussionId,
pub anchor: SymbolAnchor,
pub opened_against_state: StateId,
pub opened_at: i64,
pub thread_ref: Option<String>,
pub turns: Vec<DiscussionTurn>,
pub resolution: DiscussionResolution,
pub body_changed_since_open: bool,
pub anchor_ambiguous: bool,
pub orphaned: bool,
pub visibility: VisibilityTier,
pub resolved_annotation_id: Option<String>,
}Fields§
§id: DiscussionId§anchor: SymbolAnchor§opened_against_state: StateId§opened_at: i64Unix epoch seconds.
thread_ref: Option<String>§turns: Vec<DiscussionTurn>§resolution: DiscussionResolution§body_changed_since_open: boolSet by anchor-travel when the symbol body has changed since this discussion was opened. Reviewers see a marker; resolution still proceeds normally.
anchor_ambiguous: boolSet by anchor-travel when semantic analysis found plausible targets but no single high-confidence winner. The durable symbol anchor remains unchanged for human triage.
orphaned: boolSet by anchor-travel when the symbol can’t be resolved in the new state (deleted or unreachable rename). The discussion stays open with this marker for a human to triage.
visibility: VisibilityTierInherits from namespace policy unless explicitly overridden.
resolved_annotation_id: Option<String>Bidirectional link populated when DiscussionResolution::ResolvedIntoAnnotation
fires. Lets viewers jump from the discussion to the annotation it
produced (and vice versa, via a back-pointer on the annotation).
Implementations§
Trait Implementations§
Source§impl Clone for Discussion
impl Clone for Discussion
Source§fn clone(&self) -> Discussion
fn clone(&self) -> Discussion
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more