Enum grafana_plugin_sdk::data::ThresholdsMode [−][src]
pub enum ThresholdsMode {
Absolute,
Percentage,
}Expand description
How thresholds should be evaluated.
Variants
Absolute
Pick thresholds based on the absolute value.
Percentage
Thresholds should be treated as relative to the min/max.
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 ThresholdsMode
impl Send for ThresholdsMode
impl Sync for ThresholdsMode
impl Unpin for ThresholdsMode
impl UnwindSafe for ThresholdsMode
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
