spark_connect_rs::types

Trait SparkDataType

Source
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

Required Methods§

Source

fn json(&self) -> String

JSON representation of the object

Provided Methods§

Implementors§