1 2 3 4 5 6 7 8 9 10 11 12 13
#[derive(uniffi::Record)] pub struct Seed { /// The UUID identifier of the seed. pub id: String, pub phrase: String, pub seed_type: SeedType, } #[derive(uniffi::Enum)] pub enum SeedType { Created { timestamp: String }, Imported { timestamp: String }, }