pub struct PathwayResult {Show 14 fields
pub id: String,
pub name: String,
pub prediction: bool,
pub completeness: f64,
pub status: Option<PwyStatus>,
pub n_reaction: u32,
pub n_spontaneous: u32,
pub n_vague: u32,
pub n_key_reaction: u32,
pub n_reaction_found: u32,
pub n_key_reaction_found: u32,
pub reactions_found: Vec<String>,
pub spontaneous_reactions: Vec<String>,
pub key_reactions: Vec<String>,
}Expand description
One row of the Pathways.tbl output.
Fields§
§id: String§name: String§prediction: bool§completeness: f64§status: Option<PwyStatus>§n_reaction: u32§n_spontaneous: u32§n_vague: u32§n_key_reaction: u32§n_reaction_found: u32§n_key_reaction_found: u32§reactions_found: Vec<String>§spontaneous_reactions: Vec<String>§key_reactions: Vec<String>Trait Implementations§
Source§impl Clone for PathwayResult
impl Clone for PathwayResult
Source§fn clone(&self) -> PathwayResult
fn clone(&self) -> PathwayResult
Returns a duplicate of the value. Read more
1.0.0 · 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 PathwayResult
impl Debug for PathwayResult
Source§impl<'de> Deserialize<'de> for PathwayResult
impl<'de> Deserialize<'de> for PathwayResult
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 PathwayResult
impl RefUnwindSafe for PathwayResult
impl Send for PathwayResult
impl Sync for PathwayResult
impl Unpin for PathwayResult
impl UnsafeUnpin for PathwayResult
impl UnwindSafe for PathwayResult
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