pub struct Model {
pub id: Option<String>,
pub name: Option<String>,
pub meta_id: Option<String>,
pub substance_units: Option<String>,
pub time_units: Option<String>,
pub volume_units: Option<String>,
pub area_units: Option<String>,
pub length_units: Option<String>,
pub extent_units: Option<String>,
pub conversion_factor: Option<String>,
pub nodes: Vec<Tag>,
}
Fields§
§id: Option<String>
§name: Option<String>
§meta_id: Option<String>
§substance_units: Option<String>
§time_units: Option<String>
§volume_units: Option<String>
§area_units: Option<String>
§length_units: Option<String>
§extent_units: Option<String>
§conversion_factor: Option<String>
§nodes: Vec<Tag>
Implementations§
Source§impl Model
impl Model
pub fn new(nodes: Vec<Tag>, attributes: HashMap<String, String>) -> Self
pub fn species(&self) -> Vec<Species>
pub fn reactions(&self) -> Vec<Reaction>
pub fn unit_definitions(&self) -> Vec<UnitDefinition>
pub fn compartments(&self) -> Vec<Compartment>
pub fn parameters(&self) -> Vec<Parameter>
pub fn function_definitions(&self) -> Vec<FunctionDefinition>
pub fn assignment_rules(&self) -> Vec<AssignmentRule>
pub fn rate_rules(&self) -> Vec<RateRule>
pub fn initial_assignments(&self) -> Vec<InitialAssignment>
pub fn function_definition_math(&self) -> HashMap<String, Vec<MathNode>>
pub fn assignment_rule_math(&self) -> HashMap<String, Vec<MathNode>>
pub fn all_reactants(&self) -> HashMap<String, Vec<SpeciesReference>>
pub fn all_reactant_ids(&self) -> HashMap<String, Vec<String>>
pub fn all_products(&self) -> HashMap<String, Vec<SpeciesReference>>
pub fn all_product_ids(&self) -> HashMap<String, Vec<String>>
pub fn all_kinetic_laws(&self) -> HashMap<String, MathTag>
pub fn local_parameter_values(&self) -> HashMap<String, HashMap<String, f64>>
pub fn reaction_matrix(&self) -> HashMap<(String, String), Vec<SpeciesStatus>>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Model
impl RefUnwindSafe for Model
impl Send for Model
impl Sync for Model
impl Unpin for Model
impl UnwindSafe for Model
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