pub trait SparkDataType {
// Required method
fn json(&self) -> String;
// Provided methods
fn type_name(&self) -> String { ... }
fn json_value(&self) -> String { ... }
fn as_str_name(&self) -> String { ... }
}
Expand description
Represents basic methods for a SparkDataType