[][src]Struct forecast::Flags

pub struct Flags {
    pub darksky_unavailable: Option<String>,
    pub sources: Vec<String>,
    pub units: Units,
}

Model object representing a flag which contains miscellaneous metadata about a request.

Fields

darksky_unavailable: Option<String>sources: Vec<String>units: Units

Trait Implementations

impl Clone for Flags[src]

impl Debug for Flags[src]

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

impl Eq for Flags[src]

impl PartialEq<Flags> for Flags[src]

impl Serialize for Flags[src]

impl StructuralEq for Flags[src]

impl StructuralPartialEq for Flags[src]

Auto Trait Implementations

impl RefUnwindSafe for Flags

impl Send for Flags

impl Sync for Flags

impl Unpin for Flags

impl UnwindSafe for Flags

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<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.