[][src]Struct weather_util_rust::config::ConfigInner

pub struct ConfigInner {
    pub api_key: Option<String>,
    pub api_endpoint: Option<String>,
    pub api_path: Option<String>,
    pub zipcode: Option<u64>,
    pub country_code: Option<String>,
    pub city_name: Option<String>,
    pub lat: Option<Latitude>,
    pub lon: Option<Longitude>,
}

Configuration data

Fields

api_key: Option<String>

openweathermap.org api key

api_endpoint: Option<String>

openweathermap.org api endpoint

api_path: Option<String>

Api path (default is data/2.5/)

zipcode: Option<u64>

optional default zipcode

country_code: Option<String>

optional default country code

city_name: Option<String>

optional default city name

lat: Option<Latitude>

optional default latitude

lon: Option<Longitude>

optional default longitude

Trait Implementations

impl Debug for ConfigInner[src]

impl Default for ConfigInner[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> From<T> 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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,