use serde::{Deserialize, Serialize};

{% for struct in structs %}
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct {{ struct.name }} {
    {% for field in struct.fields %}
    pub {{ field.name }}: {{ field.type_name }},
    {% endfor %}
}
{% endfor %}
