pub struct SemanticCandidateDecision {Show 16 fields
pub query_id: usize,
pub subject: SemanticSymbol,
pub decision: SemanticCandidateDecisionKind,
pub status: SemanticCompleteness,
pub owning_projects: Vec<String>,
pub evidence: Vec<SemanticReference>,
pub contract: Option<SemanticContractEvidence>,
pub framework_contract: Option<SemanticFrameworkContractEvidence>,
pub closed_world_eligible: bool,
pub edit_guard: Option<SemanticEditGuard>,
pub reason_code: Option<SemanticGapReason>,
pub explanation: String,
pub actions: Vec<String>,
pub total_evidence_count: usize,
pub truncated: bool,
pub omissions: Vec<SemanticOmission>,
}Expand description
Bounded, inspectable decision record for one semantic dead-code candidate.
Fields§
§query_id: usizeQuery identifier used to correlate low-level query metadata.
subject: SemanticSymbolExact candidate declaration.
decision: SemanticCandidateDecisionKindConservative Fallow-owned decision.
status: SemanticCompletenessCompleteness of the supporting semantic evidence.
owning_projects: Vec<String>Every selected TypeScript project that owns the declaration.
evidence: Vec<SemanticReference>Bounded checker-resolved reference or uncertainty evidence.
contract: Option<SemanticContractEvidence>Inherited contract evidence, when present.
framework_contract: Option<SemanticFrameworkContractEvidence>Framework-owned contract evidence, distinct from TypeScript contracts.
closed_world_eligible: boolWhether this exact decision may enable a guarded class-member fix.
edit_guard: Option<SemanticEditGuard>Exact declaration guard required before a source edit.
reason_code: Option<SemanticGapReason>Primary reason when the candidate remains unresolved or abstained.
explanation: StringConcise explanation suitable for dry-run and agent output.
actions: Vec<String>Plain next actions.
total_evidence_count: usizeEvidence count before bounding.
truncated: boolWhether evidence was truncated.
omissions: Vec<SemanticOmission>Counted omissions.
Trait Implementations§
Source§impl Clone for SemanticCandidateDecision
impl Clone for SemanticCandidateDecision
Source§impl Debug for SemanticCandidateDecision
impl Debug for SemanticCandidateDecision
Source§impl<'de> Deserialize<'de> for SemanticCandidateDecision
impl<'de> Deserialize<'de> for SemanticCandidateDecision
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>,
impl Eq for SemanticCandidateDecision
impl StructuralPartialEq for SemanticCandidateDecision
Auto Trait Implementations§
impl Forget for SemanticCandidateDecision
impl Freeze for SemanticCandidateDecisionwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<String>: Freeze,
PhantomData<SemanticReference>: Freeze,
PhantomData<SemanticOmission>: Freeze,
impl Move for SemanticCandidateDecision
impl RefUnwindSafe for SemanticCandidateDecision
impl Send for SemanticCandidateDecisionwhere
RawVecInner: Send,
impl Sync for SemanticCandidateDecisionwhere
RawVecInner: Sync,
impl Unpin for SemanticCandidateDecision
impl UnsafeUnpin for SemanticCandidateDecisionwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<SemanticReference>: UnsafeUnpin,
PhantomData<SemanticOmission>: UnsafeUnpin,
impl UnwindSafe for SemanticCandidateDecisionwhere
RawVecInner: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.