pub struct SpeciesRef {
pub iri: String,
pub hash: u64,
}Expand description
An opaque handle to a chemical species (T33).
A species is a distinct chemical entity (e.g. H₂O, NaCl, sucrose).
The handle carries an IRI and a content hash for provenance. Scripts
do not see the full species definition — they reference it by handle
and the host resolves it via field.sample() or law.apply().
Fields§
§iri: StringThe species’ IRI identifier (e.g. qudt:CHEBI_17716 for sucrose).
hash: u64A content hash of the species definition (for provenance).
Trait Implementations§
Source§impl Clone for SpeciesRef
impl Clone for SpeciesRef
Source§impl Debug for SpeciesRef
impl Debug for SpeciesRef
impl Eq for SpeciesRef
Source§impl Hash for SpeciesRef
impl Hash for SpeciesRef
Source§impl PartialEq for SpeciesRef
impl PartialEq for SpeciesRef
impl StructuralPartialEq for SpeciesRef
Auto Trait Implementations§
impl Freeze for SpeciesRef
impl RefUnwindSafe for SpeciesRef
impl Send for SpeciesRef
impl Sync for SpeciesRef
impl Unpin for SpeciesRef
impl UnsafeUnpin for SpeciesRef
impl UnwindSafe for SpeciesRef
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
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.