2 unstable releases
0.2.0 | Mar 6, 2020 |
---|---|
0.1.0 | Jan 5, 2020 |
#69 in #real
2.5MB
40K
SLoC
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)?);
lib.rs
:
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 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)?);
Dependencies
~1.3–2.2MB
~41K SLoC