This commit is contained in:
Meghdad committed 2026-11-01 19:43:03 +03:30
commit 22fe85bb92
247 files changed
+35538

No files matched your search

@@ -0,0 +1,14 @@
<#@ template cleanws="true" #>
<# for struc in &self.0.structs { #>
<#= doc_comment(&struc.doc) #>
#[derive(Clone, Debug, Deserialize, PartialEq, Serialize)]
pub struct <#= struc.name #> {
<# for p in struc.get_all_properties() {
if let Some(ref doc) = p.get_doc() { #>
<#= indent(doc_comment(doc), 1) #>
<# } #>
pub <#= p.get_attr_name(&struc) #>: <#= p.get_type(&self.0.structs)? #>,
<# } #>
}
<# } #>