14 lines
193 B
Rust
14 lines
193 B
Rust
use serde_derive::Serialize;
|
|
|
|
#[derive(Serialize)]
|
|
enum S {
|
|
#[serde(rename_all = "abc")]
|
|
V {
|
|
name: u8,
|
|
long_name: u8,
|
|
very_long_name: u8,
|
|
},
|
|
}
|
|
|
|
fn main() {}
|