Struct grafana_plugin_sdk::data::Threshold [−][src]
pub struct Threshold {
pub value: Option<ConfFloat64>,
pub color: Option<String>,
pub state: Option<String>,
}Expand description
A single step on the threshold list.
Fields
value: Option<ConfFloat64>The upper bound of this threshold.
color: Option<String>The colour to use for this threshold.
state: Option<String>The state of the alert.
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 Threshold
impl UnwindSafe for Threshold
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
