#[derive(Serialize, Deserialize)] struct S { #[serde(rename = "a")] f: i32, } ... Some let you control the ability to write custom attributes.
確定! 回上一頁