[][src]Struct cities::City

pub struct City {
    pub id: usize,
    pub country: &'static str,
    pub city: &'static str,
    pub latitude: f64,
    pub longitude: f64,
    pub altitude: f64,
}

Fields

id: usizecountry: &'static strcity: &'static strlatitude: f64longitude: f64altitude: f64

Trait Implementations

impl Debug for City[src]

Auto Trait Implementations

impl Sync for City

impl Send for City

impl Unpin for City

impl RefUnwindSafe for City

impl UnwindSafe for City

Blanket Implementations

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<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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