Skip to main content

chord_progression_parser/model/
section_meta.rs

1use serde::{Deserialize, Serialize};
2use typeshare::typeshare;
3
4#[typeshare]
5#[derive(Debug, PartialEq, Clone, Deserialize, Serialize)]
6#[serde(tag = "type", content = "value", rename_all = "camelCase")]
7pub enum SectionMeta {
8    Section(String),
9    Repeat(u32),
10    // or more
11}