use std::ops::Deref; use t4rust_derive::Template; use tsproto_structs::versions::*; #[derive(Template)] #[TemplatePath = "build/VersionDeclarations.tt"] #[derive(Default, Debug)] pub struct Versions; impl Deref for Versions { type Target = Vec; fn deref(&self) -> &Self::Target { &DATA.0 } }