pub struct CURIE {
pub controlled_vocabulary: ControlledVocabulary,
pub accession: AccessionIntCode,
}Expand description
A CURIE is a namespace + accession identifier
Fields§
§controlled_vocabulary: ControlledVocabulary§accession: AccessionIntCodeImplementations§
Source§impl CURIE
impl CURIE
pub const fn new( cv_id: ControlledVocabulary, accession: AccessionIntCode, ) -> Self
pub fn as_param(&self) -> Param
pub fn accession_int(&self) -> u32
pub fn controlled_vocabulary(&self) -> ControlledVocabulary
Trait Implementations§
impl Copy for CURIE
impl Eq for CURIE
impl StructuralPartialEq for CURIE
Auto Trait Implementations§
impl Freeze for CURIE
impl RefUnwindSafe for CURIE
impl Send for CURIE
impl Sync for CURIE
impl Unpin for CURIE
impl UnsafeUnpin for CURIE
impl UnwindSafe for CURIE
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