pub struct BucketBy {
pub span: SourceSpan,
pub function: BucketType,
pub time: Parameterized<RelativeTime>,
pub tags: Vec<String>,
pub spec: Vec<BucketSpec>,
}Expand description
A Bucketing function, applying both tag and time based aggregation
Fields§
§span: SourceSpanThe location of the group by clause
function: BucketTypeThe function to apply
time: Parameterized<RelativeTime>The time to align to
The tags to group by
spec: Vec<BucketSpec>The buckets to produce
Trait Implementations§
Source§impl<'de> Deserialize<'de> for BucketBy
impl<'de> Deserialize<'de> for BucketBy
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 BucketBy
impl RefUnwindSafe for BucketBy
impl Send for BucketBy
impl Sync for BucketBy
impl Unpin for BucketBy
impl UnsafeUnpin for BucketBy
impl UnwindSafe for BucketBy
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