Struct vega_lite::ConditionalValueDef
source · pub struct ConditionalValueDef {
pub test: Box<Option<Box<PurpleLogicalOperandPredicate>>>,
pub value: ConditionalValueDefValue,
pub selection: Box<Option<Box<PurpleSelectionOperand>>>,
}
Fields§
§test: Box<Option<Box<PurpleLogicalOperandPredicate>>>
§value: ConditionalValueDefValue
A constant value in visual domain (e.g., "red"
/ “#0099ff” for color, values between
0
to 1
for opacity).
selection: Box<Option<Box<PurpleSelectionOperand>>>
A selection name, or a series of composed selections.
Trait Implementations§
source§impl Debug for ConditionalValueDef
impl Debug for ConditionalValueDef
source§impl<'de> Deserialize<'de> for ConditionalValueDef
impl<'de> Deserialize<'de> for ConditionalValueDef
source§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