[][src]Struct nanowrimo::data::LocationData

pub struct LocationData {
    pub city: String,
    pub country: String,
    pub county: Option<String>,
    pub formatted_address: Option<String>,
    pub latitude: f64,
    pub longitude: f64,
    pub map_url: Option<String>,
    pub municipality: Option<String>,
    pub name: String,
    pub neighborhood: Option<String>,
    pub postal_code: String,
    pub state: String,
    pub street1: Option<String>,
    pub street2: Option<String>,
    pub utc_offset: Option<i64>,
}

Fields

city: Stringcountry: Stringcounty: Option<String>formatted_address: Option<String>latitude: f64longitude: f64map_url: Option<String>municipality: Option<String>name: Stringneighborhood: Option<String>postal_code: Stringstate: Stringstreet1: Option<String>street2: Option<String>utc_offset: Option<i64>

Trait Implementations

impl Debug for LocationData[src]

impl<'de> Deserialize<'de> for LocationData[src]

impl Serialize for LocationData[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.