Struct grafana_plugin_sdk::data::QueryStat [−][src]
pub struct QueryStat {
pub field_config: FieldConfig,
pub value: ConfFloat64,
}Expand description
Used for storing arbitrary statistics metadata related to a query and its results.
Examples include total request time and data processing time.
The field_config field’s name property MUST be set.
This corresponds to the QueryResultMetaStat on the frontend.
Fields
field_config: FieldConfigInformation used to identify the field to which this statistic applies.
value: ConfFloat64The actual statistic.
Trait Implementations
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 RefUnwindSafe for QueryStat
impl UnwindSafe for QueryStat
Blanket Implementations
Mutably borrows from an owned value. Read more
Wrap the input message T in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
