pub struct MetricRequest {
pub function: String,
pub alias: String,
pub of_dimension: String,
pub select_where_value: Option<Value>,
pub condition_filter: Option<FilterNode>,
}Expand description
Describes a metric requested in the GraphQL selection set.
Fields§
§function: String§alias: StringGraphQL alias (e.g. sum_in in sum_in: sum(...)). Falls back to function name.
of_dimension: String§select_where_value: Option<Value>The raw selectWhere value extracted from GraphQL arguments.
condition_filter: Option<FilterNode>Pre-parsed condition filter for conditional aggregation (countIf/sumIf).
Auto Trait Implementations§
impl !Freeze for MetricRequest
impl RefUnwindSafe for MetricRequest
impl Send for MetricRequest
impl Sync for MetricRequest
impl Unpin for MetricRequest
impl UnsafeUnpin for MetricRequest
impl UnwindSafe for MetricRequest
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