pub struct IntervalSampleScope {
pub start_expr: String,
pub end_expr: String,
pub where_clause: String,
pub params: Vec<Value>,
}Expand description
Scope for positive interval samples that may be clipped to a user time window before aggregation.
Fields§
§start_expr: String§end_expr: String§where_clause: String§params: Vec<Value>Trait Implementations§
Source§impl Clone for IntervalSampleScope
impl Clone for IntervalSampleScope
Source§fn clone(&self) -> IntervalSampleScope
fn clone(&self) -> IntervalSampleScope
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IntervalSampleScope
impl Debug for IntervalSampleScope
Source§impl PartialEq for IntervalSampleScope
impl PartialEq for IntervalSampleScope
Source§fn eq(&self, other: &IntervalSampleScope) -> bool
fn eq(&self, other: &IntervalSampleScope) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for IntervalSampleScope
Auto Trait Implementations§
impl Freeze for IntervalSampleScope
impl RefUnwindSafe for IntervalSampleScope
impl Send for IntervalSampleScope
impl Sync for IntervalSampleScope
impl Unpin for IntervalSampleScope
impl UnsafeUnpin for IntervalSampleScope
impl UnwindSafe for IntervalSampleScope
Blanket Implementations§
impl<T> Allocation for T
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