pub enum SystemProvenance {
Seed,
Ontology {
iri: String,
},
Pack {
source_id: String,
},
User,
}Expand description
Where a body-system definition came from — so an auditor (and the person) can see whether a system is a built-in seed, curated, ontology-derived, or self-declared. Additions are transparent, never silent (the same honesty stance as the knowledge base’s source provenance).
Variants§
Seed
One of the built-in seeded systems (the 17 in BODY_SYSTEMS).
Ontology
Registered from a linked-data ontology — e.g. a UBERON anatomical-system class IRI. This is the “graph-fed” path: the disease↔organ ontology defines additional systems.
Pack
Registered from a curation / knowledge pack.
User
Declared by the person themselves.
Trait Implementations§
Source§impl Clone for SystemProvenance
impl Clone for SystemProvenance
Source§impl Debug for SystemProvenance
impl Debug for SystemProvenance
Source§impl<'de> Deserialize<'de> for SystemProvenance
impl<'de> Deserialize<'de> for SystemProvenance
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
impl Eq for SystemProvenance
Source§impl PartialEq for SystemProvenance
impl PartialEq for SystemProvenance
Source§impl Serialize for SystemProvenance
impl Serialize for SystemProvenance
impl StructuralPartialEq for SystemProvenance
Auto Trait Implementations§
impl Freeze for SystemProvenance
impl RefUnwindSafe for SystemProvenance
impl Send for SystemProvenance
impl Sync for SystemProvenance
impl Unpin for SystemProvenance
impl UnsafeUnpin for SystemProvenance
impl UnwindSafe for SystemProvenance
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