1 2 3 4 5 6 7 8 9 10 11 12 13 14
use syn::{Ident, Type}; pub enum Encoding { Bytemuck, Borsh, Custom, } //TODO seeded pub struct AccountData { pub name: Ident, pub encoding: Encoding, pub fields: Vec<(String, Type)>, }