pub struct ChebiRecord {
pub id: u64,
pub status: String,
pub accession: String,
pub source: String,
pub parent_id: Option<u64>,
pub name: String,
pub definition: String,
pub source_line: u64,
}Expand description
One accepted ChEBI compound row from compounds.tsv.
Cold-construction type: heap String fields are intentional. Hot-path Quin
projection belongs to AST-04 and must not allocate URI strings at runtime.
Fields§
§id: u64Numeric ChEBI id (e.g. 15377).
status: StringUpstream status code preserved as text (C / E / …). Deleted (D)
rows never appear here — they are quarantined.
accession: StringAccession string (e.g. CHEBI:15377).
source: StringFree-text SOURCE column (may be empty).
parent_id: Option<u64>Parent compound id, or None when the PARENT_ID cell is empty.
name: StringCompound display name (non-empty for accepted rows).
definition: StringDefinition text (may be empty).
source_line: u641-based file line number for provenance (header is line 1).
Trait Implementations§
Source§impl Clone for ChebiRecord
impl Clone for ChebiRecord
Source§impl Debug for ChebiRecord
impl Debug for ChebiRecord
impl Eq for ChebiRecord
Source§impl PartialEq for ChebiRecord
impl PartialEq for ChebiRecord
impl StructuralPartialEq for ChebiRecord
Auto Trait Implementations§
impl Freeze for ChebiRecord
impl RefUnwindSafe for ChebiRecord
impl Send for ChebiRecord
impl Sync for ChebiRecord
impl Unpin for ChebiRecord
impl UnsafeUnpin for ChebiRecord
impl UnwindSafe for ChebiRecord
Blanket Implementations§
§impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
Aggregate shares in an MPC protocol.
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more