pub struct PurpleConditionalPredicateValueDefNumberNullExprRef {
pub test: Option<PredicateCompositionElement>,
pub value: Option<Vec<f64>>,
pub expr: Option<String>,
}
Fields§
§test: Option<PredicateCompositionElement>
Predicate for triggering the condition
value: Option<Vec<f64>>
A constant value in visual domain (e.g., "red"
/ "#0099ff"
/ gradient
definition for color, values
between 0
to 1
for opacity).
expr: Option<String>
Vega expression (which can refer to Vega-Lite parameters).
Trait Implementations§
source§impl Clone for PurpleConditionalPredicateValueDefNumberNullExprRef
impl Clone for PurpleConditionalPredicateValueDefNumberNullExprRef
source§fn clone(&self) -> PurpleConditionalPredicateValueDefNumberNullExprRef
fn clone(&self) -> PurpleConditionalPredicateValueDefNumberNullExprRef
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for PurpleConditionalPredicateValueDefNumberNullExprRef
impl Default for PurpleConditionalPredicateValueDefNumberNullExprRef
source§fn default() -> PurpleConditionalPredicateValueDefNumberNullExprRef
fn default() -> PurpleConditionalPredicateValueDefNumberNullExprRef
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PurpleConditionalPredicateValueDefNumberNullExprRef
impl<'de> Deserialize<'de> for PurpleConditionalPredicateValueDefNumberNullExprRef
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
source§impl From<PurpleConditionalPredicateValueDefNumberNullExprRef> for TentacledConditionalPredicateValueDefNumberNullExprRef
impl From<PurpleConditionalPredicateValueDefNumberNullExprRef> for TentacledConditionalPredicateValueDefNumberNullExprRef
source§fn from(
original: PurpleConditionalPredicateValueDefNumberNullExprRef
) -> TentacledConditionalPredicateValueDefNumberNullExprRef
fn from( original: PurpleConditionalPredicateValueDefNumberNullExprRef ) -> TentacledConditionalPredicateValueDefNumberNullExprRef
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for PurpleConditionalPredicateValueDefNumberNullExprRef
impl Send for PurpleConditionalPredicateValueDefNumberNullExprRef
impl Sync for PurpleConditionalPredicateValueDefNumberNullExprRef
impl Unpin for PurpleConditionalPredicateValueDefNumberNullExprRef
impl UnwindSafe for PurpleConditionalPredicateValueDefNumberNullExprRef
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more