pub struct Attribute {
pub rxcui: u64,
pub rxaui: Option<u64>,
pub name: String,
pub sab: String,
pub value: String,
pub suppress: String,
}Expand description
One RXNSAT row: an attribute of a concept or atom.
Fields§
§rxcui: u64RXCUI.
rxaui: Option<u64>RXAUI, absent for a concept-level attribute.
name: StringATN: the attribute name (NDC, RXN_AVAILABLE_STRENGTH, …).
sab: StringSAB: the source asserting the attribute.
value: StringATV: the value.
suppress: StringSUPPRESS.
Trait Implementations§
impl Eq for Attribute
Source§impl FromRecord for Attribute
impl FromRecord for Attribute
Source§fn from_record(
record: &ByteRecord,
path: &Path,
line: u64,
) -> Result<Self, RrfError>
fn from_record( record: &ByteRecord, path: &Path, line: u64, ) -> Result<Self, RrfError>
impl StructuralPartialEq for Attribute
Auto Trait Implementations§
impl Freeze for Attribute
impl RefUnwindSafe for Attribute
impl Send for Attribute
impl Sync for Attribute
impl Unpin for Attribute
impl UnsafeUnpin for Attribute
impl UnwindSafe for Attribute
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