Struct rustis::commands::TsInfoChunkResult
source · pub struct TsInfoChunkResult {
pub start_timestamp: i64,
pub end_timestamp: i64,
pub samples: usize,
pub size: usize,
pub bytes_per_sample: f64,
}
Available on crate feature
redis-time-series
only.Expand description
Additional debug result for the ts_info
command.
Fields§
§start_timestamp: i64
First timestamp present in the chunk
end_timestamp: i64
Last timestamp present in the chunk
samples: usize
Total number of samples in the chunk
size: usize
The chunk data size in bytes. This is the exact size that used for data only inside the chunk. It does not include other overheads.
bytes_per_sample: f64
Ratio of size
and samples
Trait Implementations§
source§impl Debug for TsInfoChunkResult
impl Debug for TsInfoChunkResult
source§impl<'de> Deserialize<'de> for TsInfoChunkResult
impl<'de> Deserialize<'de> for TsInfoChunkResult
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for TsInfoChunkResult
impl RefUnwindSafe for TsInfoChunkResult
impl Send for TsInfoChunkResult
impl Sync for TsInfoChunkResult
impl Unpin for TsInfoChunkResult
impl UnwindSafe for TsInfoChunkResult
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more