pub trait Visualization {
// Required method
fn to_json(&self) -> String;
}
Expand description
Represents a visualization that can be serialized into a json string.
Required Methods§
Sourcefn to_json(&self) -> String
fn to_json(&self) -> String
Serializes this visualization to JSON. The JSON should match this schema. There is a playground here.