Crates.io | reso_dd |
lib.rs | reso_dd |
version | 0.2.0 |
source | src |
created_at | 2020-01-05 20:54:49.327331 |
updated_at | 2020-03-06 13:50:57.285976 |
description | Structures and Enumerations that implement the Real Estate Standards Organization (RESO) Data Dictionary |
homepage | https://github.com/zenlist/reso_dd |
repository | https://github.com/zenlist/reso_dd |
max_upload_size | |
id | 195524 |
size | 2,595,401 |
Structures and Enumerations that implement the Real Estate Standards Organization (RESO) Data Dictionary.
The structures defined here can be serialized and deserialized using serde.
use reso_dd;
use serde_json;
let reso = r#"{
"StandardStatus": "Active"
}"#;
let property: reso_dd::Property = serde_json::from_str(reso)?;
assert_eq!(property.standard_status, Some(reso_dd::StandardStatus::Active));
println!("{}", serde_json::to_string(&property)?);