pub struct TsCompactionRule {
pub compaction_key: String,
pub bucket_duration: u64,
pub aggregator: TsAggregationType,
pub alignment: u64,
}Expand description
information about the compaction rules
of a time series collection, in the context of the ts_info command.
Fields§
§compaction_key: StringThe compaction key
bucket_duration: u64The bucket duration
aggregator: TsAggregationTypeThe aggregator
alignment: u64The alignment (since RedisTimeSeries v1.8)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TsCompactionRule
impl RefUnwindSafe for TsCompactionRule
impl Send for TsCompactionRule
impl Sync for TsCompactionRule
impl Unpin for TsCompactionRule
impl UnwindSafe for TsCompactionRule
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