File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed
smarty-rust-sdk/src/international_street_api Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -91,6 +91,7 @@ pub struct Metadata {
9191 pub latitude : f64 ,
9292 pub longitude : f64 ,
9393 pub geocode_precision : String ,
94+ pub geocode_classification : String ,
9495 pub max_geocode_precision : String ,
9596 pub address_format : String ,
9697 pub occupant_use : String ,
Original file line number Diff line number Diff line change @@ -83,6 +83,7 @@ mod tests {
8383 },
8484 "metadata": {
8585 "latitude": 52.0, "longitude": 53.0,
86+ "geocode_classification": "multiple-point-average",
8687 "geocode_precision": "54", "max_geocode_precision": "55",
8788 "address_format": "56"
8889 },
@@ -183,6 +184,7 @@ mod tests {
183184 assert_eq ! ( candidate. components. post_box_number, "51" ) ;
184185 assert_eq ! ( candidate. metadata. latitude, 52.0 ) ;
185186 assert_eq ! ( candidate. metadata. longitude, 53.0 ) ;
187+ assert_eq ! ( candidate. metadata. geocode_classification, "multiple-point-average" ) ;
186188 assert_eq ! ( candidate. metadata. geocode_precision, "54" ) ;
187189 assert_eq ! ( candidate. metadata. max_geocode_precision, "55" ) ;
188190 assert_eq ! ( candidate. metadata. address_format, "56" ) ;
You can’t perform that action at this time.
0 commit comments