Struct toggl_reports::reports::Report[][src]

pub struct Report<Data> {
    pub total_grand: DurationWrapper,
    pub total_billable: EarningWrapper,
    pub total_currencies: Vec<Currency>,
    pub data: Vec<Data>,
}

A generic structure to store response from Toggl

Fields

total_grand: DurationWrappertotal_billable: EarningWrappertotal_currencies: Vec<Currency>data: Vec<Data>

Trait Implementations

impl<Data: Debug> Debug for Report<Data>[src]

impl<'de, Data> Deserialize<'de> for Report<Data> where
    Data: Deserialize<'de>, 
[src]

Auto Trait Implementations

impl<Data> RefUnwindSafe for Report<Data> where
    Data: RefUnwindSafe

impl<Data> Send for Report<Data> where
    Data: Send

impl<Data> Sync for Report<Data> where
    Data: Sync

impl<Data> Unpin for Report<Data> where
    Data: Unpin

impl<Data> UnwindSafe for Report<Data> where
    Data: UnwindSafe

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.