JSON → Rust Struct
62 字符
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct Root {
pub name: String,
pub age: i64,
pub email: String,
}
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct Root {
pub name: String,
pub age: i64,
pub email: String,
}
This site uses cookies for ads and analytics. See our Privacy Policy for details.