pub trait Datable: Identifiable {
type Data;
// Required methods
fn get_data(&self) -> Self::Data;
fn set_data(&mut self, value: Self::Data);
}Expand description
Represents data-bearing entities in a context graph.
This trait marks nodes that carry domain-specific data
relevant to inference, observation, or explanation. It extends
Identifiable to ensure that each instance has a unique identity.
This trait is intentionally left minimal to allow full flexibility in how data is modeled. You may wrap sensor input, encoded strings, discrete values, or even external references.
Required Associated Types§
Required Methods§
Implementors§
Source§impl Datable for UncertainBooleanData
Implements the Datable trait for DataUncertainBool.
impl Datable for UncertainBooleanData
Implements the Datable trait for DataUncertainBool.
Source§impl Datable for UncertainFloat64Data
Implements the Datable trait for UncertainF64.
impl Datable for UncertainFloat64Data
Implements the Datable trait for UncertainF64.