liboxen 0.9.9-alpha

Oxen is a fast, unstructured data version control, to help version datasets, written in Rust.
use serde::{Deserialize, Serialize};

#[derive(Deserialize, Serialize, Debug, Clone)]
pub struct MetadataTabular {
    pub tabular: MetadataTabularImpl,
}

#[derive(Deserialize, Serialize, Debug, Clone)]
pub struct MetadataTabularImpl {
    pub width: usize,
    pub height: usize,
}

impl MetadataTabular {
    pub fn new(width: usize, height: usize) -> Self {
        Self {
            tabular: MetadataTabularImpl { width, height },
        }
    }
}