mirror of
https://github.com/serde-rs/serde.git
synced 2025-09-28 21:41:24 +00:00
10 lines
130 B
Rust
10 lines
130 B
Rust
use serde_derive::Serialize;
|
|
|
|
#[derive(Serialize)]
|
|
struct S {
|
|
#[serde(rename = b'a')]
|
|
byte_character: (),
|
|
}
|
|
|
|
fn main() {}
|