pub trait Settable: SchemaType {
type Value;
// Required method
fn set(value: Self::Value, timestamp: u64) -> Self;
}Expand description
Construct a schema instance from its primary value.
This defines the canonical way to create a new reading/measurement.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.