Struct grafana_plugin_sdk::data::ValueMappingResult [−][src]
pub struct ValueMappingResult {
pub text: Option<String>,
pub color: Option<String>,
pub index: Option<isize>,
}Expand description
A new value to be displayed when a ValueMapping matches an input value.
Fields
text: Option<String>The text to display.
color: Option<String>The colour to use when displaying the value.
index: Option<isize>Used for ordering in the 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
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for ValueMappingResult
impl Send for ValueMappingResult
impl Sync for ValueMappingResult
impl Unpin for ValueMappingResult
impl UnwindSafe for ValueMappingResult
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
