[][src]Struct redis_ts::TsRange

pub struct TsRange<TS: FromRedisValue + Copy, V: FromRedisValue + Copy> {
    pub values: Vec<(TS, V)>,
}

Represents a TS.RANGE redis time series result. The concrete types for timestamp and value eg <u64,f64> can be provided from the call site.

Fields

values: Vec<(TS, V)>

Trait Implementations

impl<TS: Debug + FromRedisValue + Copy, V: Debug + FromRedisValue + Copy> Debug for TsRange<TS, V>[src]

impl<TS: FromRedisValue + Copy, V: FromRedisValue + Copy> FromRedisValue for TsRange<TS, V>[src]

Auto Trait Implementations

impl<TS, V> RefUnwindSafe for TsRange<TS, V> where
    TS: RefUnwindSafe,
    V: RefUnwindSafe

impl<TS, V> Send for TsRange<TS, V> where
    TS: Send,
    V: Send

impl<TS, V> Sync for TsRange<TS, V> where
    TS: Sync,
    V: Sync

impl<TS, V> Unpin for TsRange<TS, V> where
    TS: Unpin,
    V: Unpin

impl<TS, V> UnwindSafe for TsRange<TS, V> where
    TS: UnwindSafe,
    V: 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> 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.