pub trait ParamLike {
// Required methods
fn name(&self) -> &str;
fn value(&self) -> ValueRef<'_>;
fn accession(&self) -> Option<u32>;
fn controlled_vocabulary(&self) -> Option<ControlledVocabulary>;
fn unit(&self) -> Unit;
// Provided methods
fn is_ms(&self) -> bool { ... }
fn parse<T: FromStr>(&self) -> Result<T, T::Err> { ... }
fn is_controlled(&self) -> bool { ... }
fn curie(&self) -> Option<CURIE> { ... }
}
Expand description
Describe a controlled vocabulary parameter or a user-defined parameter
Required Methods§
fn name(&self) -> &str
fn value(&self) -> ValueRef<'_>
fn accession(&self) -> Option<u32>
fn controlled_vocabulary(&self) -> Option<ControlledVocabulary>
fn unit(&self) -> Unit
Provided Methods§
fn is_ms(&self) -> bool
fn parse<T: FromStr>(&self) -> Result<T, T::Err>
fn is_controlled(&self) -> bool
fn curie(&self) -> Option<CURIE>
Object Safety§
This trait is not object safe.