pub trait ToSchema {
// Required method
fn to_schema(&self) -> String;
}
Expand description
A trait used to a create a DDL string or JSON string
Primarily used for StructType and Strings
pub trait ToSchema {
// Required method
fn to_schema(&self) -> String;
}
A trait used to a create a DDL string or JSON string
Primarily used for StructType and Strings