pub struct FindingDraftOptions {Show 24 fields
pub text: String,
pub assertion_type: String,
pub source: String,
pub source_type: String,
pub author: String,
pub confidence: f64,
pub evidence_type: String,
pub entities: Vec<(String, String)>,
pub doi: Option<String>,
pub pmid: Option<String>,
pub year: Option<i32>,
pub journal: Option<String>,
pub url: Option<String>,
pub source_authors: Vec<String>,
pub conditions_text: Option<String>,
pub species: Vec<String>,
pub in_vivo: bool,
pub in_vitro: bool,
pub human_data: bool,
pub clinical_trial: bool,
pub entities_reviewed: bool,
pub evidence_spans: Vec<Value>,
pub gap: bool,
pub negative_space: bool,
}Fields§
§text: String§assertion_type: String§source: String§source_type: String§confidence: f64§evidence_type: String§entities: Vec<(String, String)>§doi: Option<String>v0.11: structured provenance — populates the existing Provenance
fields instead of jamming everything into title. Each is optional
so vela finding add callers don’t have to know all of them up front;
the substrate has the fields, the CLI just exposes them.
pmid: Option<String>§year: Option<i32>§journal: Option<String>§url: Option<String>Authors of the source artifact (the paper/preprint/etc).
Distinct from author above, which is the Vela actor doing the curation.
conditions_text: Option<String>v0.11: structured conditions — replaces the placeholder “Manually added finding; requires evidence review…” that was on every manually-added finding in v0.10. Each field independently optional.
species: Vec<String>§in_vivo: bool§in_vitro: bool§human_data: bool§clinical_trial: bool§entities_reviewed: bool§evidence_spans: Vec<Value>§gap: bool§negative_space: boolTrait Implementations§
Source§impl Clone for FindingDraftOptions
impl Clone for FindingDraftOptions
Source§fn clone(&self) -> FindingDraftOptions
fn clone(&self) -> FindingDraftOptions
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 moreAuto Trait Implementations§
impl Freeze for FindingDraftOptions
impl RefUnwindSafe for FindingDraftOptions
impl Send for FindingDraftOptions
impl Sync for FindingDraftOptions
impl Unpin for FindingDraftOptions
impl UnsafeUnpin for FindingDraftOptions
impl UnwindSafe for FindingDraftOptions
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