[][src]Struct redis_ts::TsInfo

pub struct TsInfo {
    pub total_samples: u64,
    pub memory_usage: u64,
    pub first_timestamp: u64,
    pub last_timestamp: u64,
    pub retention_time: u64,
    pub chunk_count: u64,
    pub max_samples_per_chunk: u16,
    pub chunk_size: u64,
    pub duplicate_policy: Option<TsDuplicatePolicy>,
    pub labels: Vec<(String, String)>,
    pub source_key: Option<String>,
    pub rules: Vec<(String, u64, String)>,
}

Provides information about a redis time series key.

Fields

total_samples: u64memory_usage: u64first_timestamp: u64last_timestamp: u64retention_time: u64chunk_count: u64max_samples_per_chunk: u16chunk_size: u64duplicate_policy: Option<TsDuplicatePolicy>labels: Vec<(String, String)>source_key: Option<String>rules: Vec<(String, u64, String)>

Trait Implementations

impl Debug for TsInfo[src]

impl Default for TsInfo[src]

impl FromRedisValue for TsInfo[src]

Auto Trait Implementations

impl RefUnwindSafe for TsInfo

impl Send for TsInfo

impl Sync for TsInfo

impl Unpin for TsInfo

impl UnwindSafe for TsInfo

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.