pub struct GoldEntity {
pub name: String,
pub entity_type: String,
pub expected_source: String,
pub expected_id: String,
pub expected_confidence: f64,
pub alternatives: Vec<AlternativeId>,
}Expand description
A single gold-standard entity for resolution benchmarking.
Fields§
§name: StringEntity name as it appears in findings.
entity_type: StringEntity type (gene, protein, compound, disease, pathway, other).
expected_source: StringExpected database source (uniprot, mesh, pubchem, chebi, etc.).
expected_id: StringExpected canonical ID in that database.
expected_confidence: f64Minimum acceptable resolution confidence.
alternatives: Vec<AlternativeId>Alternative acceptable IDs.
Trait Implementations§
Source§impl Clone for GoldEntity
impl Clone for GoldEntity
Source§fn clone(&self) -> GoldEntity
fn clone(&self) -> GoldEntity
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 GoldEntity
impl Debug for GoldEntity
Source§impl<'de> Deserialize<'de> for GoldEntity
impl<'de> Deserialize<'de> for GoldEntity
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 GoldEntity
impl RefUnwindSafe for GoldEntity
impl Send for GoldEntity
impl Sync for GoldEntity
impl Unpin for GoldEntity
impl UnsafeUnpin for GoldEntity
impl UnwindSafe for GoldEntity
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