pub struct TimeBucket {
pub attribute: String,
pub interval: Value,
}Expand description
A groupByTimeBucket query: the attribute and the bucket size.
Fields§
§attribute: StringThe attribute bucketed.
interval: ValueThe bucket size (1m, 5m, 15m, 1h, 1d, 1w, 1M), as the
query holds it ('' when absent).
Trait Implementations§
Source§impl Clone for TimeBucket
impl Clone for TimeBucket
Source§impl Debug for TimeBucket
impl Debug for TimeBucket
Source§impl PartialEq for TimeBucket
impl PartialEq for TimeBucket
impl StructuralPartialEq for TimeBucket
Auto Trait Implementations§
impl !Freeze for TimeBucket
impl Forget for TimeBucket
impl Move for TimeBucket
impl RefUnwindSafe for TimeBucket
impl Send for TimeBucket
impl Sync for TimeBucket
impl Unpin for TimeBucket
impl UnsafeUnpin for TimeBucket
impl UnwindSafe for TimeBucket
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