helium_api/models/geocode.rs
1use serde::{Deserialize, Serialize};
2
3#[derive(Clone, Serialize, Deserialize, Debug)]
4pub struct Geocode {
5 /// The long version of city for the last asserted location
6 pub long_city: Option<String>,
7 /// The long version of country for the last asserted location
8 pub long_country: Option<String>,
9 /// The long version of state for the last asserted location
10 pub long_state: Option<String>,
11 /// The long version of street for the last asserted location
12 pub long_street: Option<String>,
13 /// The short version of city for the last asserted location
14 pub short_city: Option<String>,
15 /// The short version of country for the last asserted location
16 pub short_country: Option<String>,
17 /// The short version of state for the last asserted location
18 pub short_state: Option<String>,
19 /// The short version of street for the last asserted location
20 pub short_street: Option<String>,
21}