pub struct ModelAnnot {
pub id: String,
pub name: Option<String>,
pub gapsmith_version: Option<String>,
pub seqdb_version: Option<String>,
pub tax_domain: Option<String>,
pub gram: Option<String>,
pub notes: Vec<String>,
}Expand description
Provenance and version metadata that travels with the model.
Fields§
§id: StringGenome / organism identifier (usually the FASTA basename).
name: Option<String>Human-readable name.
gapsmith_version: Option<String>gapseq version that produced the model.
seqdb_version: Option<String>Reference sequence database version.
tax_domain: Option<String>Taxonomic domain (Bacteria, Archaea, …).
gram: Option<String>Gram staining (pos, neg, na).
notes: Vec<String>Free-form notes (merged into SBML <notes> on export).
Trait Implementations§
Source§impl Clone for ModelAnnot
impl Clone for ModelAnnot
Source§fn clone(&self) -> ModelAnnot
fn clone(&self) -> ModelAnnot
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 ModelAnnot
impl Debug for ModelAnnot
Source§impl Default for ModelAnnot
impl Default for ModelAnnot
Source§fn default() -> ModelAnnot
fn default() -> ModelAnnot
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ModelAnnot
impl<'de> Deserialize<'de> for ModelAnnot
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 ModelAnnot
impl RefUnwindSafe for ModelAnnot
impl Send for ModelAnnot
impl Sync for ModelAnnot
impl Unpin for ModelAnnot
impl UnsafeUnpin for ModelAnnot
impl UnwindSafe for ModelAnnot
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