pub struct Entity {
pub name: String,
pub entity_type: String,
pub identifiers: Map<String, Value>,
pub canonical_id: Option<ResolvedId>,
pub candidates: Vec<ResolvedId>,
pub aliases: Vec<String>,
pub resolution_provenance: Option<String>,
pub resolution_confidence: f64,
pub resolution_method: Option<ResolutionMethod>,
pub species_context: Option<String>,
pub needs_review: bool,
}Fields§
§name: String§entity_type: String§identifiers: Map<String, Value>Deprecated: flat identifiers map. Retained for backward compatibility with
older frontier JSON files. New code should use canonical_id and candidates.
canonical_id: Option<ResolvedId>The primary resolved identifier (if resolved).
candidates: Vec<ResolvedId>Alternative resolution candidates with scores.
aliases: Vec<String>Known aliases for this entity (e.g., NLRP3 = cryopyrin = NALP3).
resolution_provenance: Option<String>How this resolution was performed.
resolution_confidence: f64§resolution_method: Option<ResolutionMethod>How the entity was resolved: exact_match, fuzzy_match, llm_inference, manual.
species_context: Option<String>Species context for orthologs (e.g., “Homo sapiens” vs “Mus musculus” for APP).
needs_review: boolTrue when resolution_confidence < 0.8 and the match needs human review.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Entity
impl<'de> Deserialize<'de> for Entity
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 Entity
impl RefUnwindSafe for Entity
impl Send for Entity
impl Sync for Entity
impl Unpin for Entity
impl UnsafeUnpin for Entity
impl UnwindSafe for Entity
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