Struct grafana_plugin_sdk::data::Notice [−][src]
pub struct Notice {
pub severity: Option<Severity>,
pub text: String,
pub link: Option<String>,
pub inspect: Option<InspectType>,
}Expand description
A notification to be displayed in Grafana’s UI.
Fields
severity: Option<Severity>The severity level of this notice.
text: StringFreeform descriptive text to display on the notice.
link: Option<String>An optional link to display in the Grafana UI.
Can be an absolute URL or a path relative to Grafana’s root URL.
inspect: Option<InspectType>An optional suggestion for which tab to display in the panel inspector in Grafana’s UI.
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 Notice
impl UnwindSafe for Notice
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
