Trait vector_config::ToValue
source · pub trait ToValue {
// Required method
fn to_value(&self) -> Value;
}
Expand description
A type that can be converted directly to a serde_json::Value
. This is used when translating
the default value in a Metadata
into a schema object.