Struct grafana_plugin_sdk::data::Metadata [−][src]
pub struct Metadata {
pub path: Option<String>,
pub path_separator: Option<String>,
pub custom: Option<Map<String, Value>>,
pub stats: Option<Vec<QueryStat>>,
pub notices: Option<Vec<Notice>>,
pub channel: Option<Channel>,
pub preferred_visualisation: Option<VisType>,
pub executed_query_string: Option<String>,
}Expand description
Metadata about a Frame.
Fields
path: Option<String>A browsable path on the datasource.
path_separator: Option<String>Defines the separator pattern to decode a hierarchy. The default separator is ‘/’.
custom: Option<Map<String, Value>>Custom datasource specific values.
stats: Option<Vec<QueryStat>>Query result statistics.
notices: Option<Vec<Notice>>Additional information about the data in the frame that Grafana can display in the UI.
channel: Option<Channel>Path to a stream in Grafana Live that has real-time updates for this data.
preferred_visualisation: Option<VisType>The preferred visualisation option when used in Grafana’s Explore mode.
executed_query_string: Option<String>The raw query sent to the underlying system after all macros and templating have been applied.
This will be shown in the query inspector if present.
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 Metadata
impl UnwindSafe for Metadata
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
