specta 0.0.2

Easily export your Rust types to other languages
Documentation
1
2
3
4
5
6
7
8
use crate::DataType;

#[derive(Debug, Clone, PartialEq)]
pub struct TupleType {
    pub name: String,
    pub fields: Vec<DataType>,
    pub generics: Vec<&'static str>,
}