pub struct ConditionalPredicateValueDefNumberClass {
pub test: Option<ConditionalValueDefNumberExprRefPredicateComposition>,
pub value: Option<f64>,
pub selection: Option<Box<ConditionalValueDefNumberExprRefSelectionComposition>>,
}
Fields§
§test: Option<ConditionalValueDefNumberExprRefPredicateComposition>
Predicate for triggering the condition
value: Option<f64>
A constant value in visual domain (e.g., "red"
/ "#0099ff"
/ gradient
definition for color, values
between 0
to 1
for opacity).
selection: Option<Box<ConditionalValueDefNumberExprRefSelectionComposition>>
A selection name, or a series of composed selections.
Trait Implementations§
source§impl Clone for ConditionalPredicateValueDefNumberClass
impl Clone for ConditionalPredicateValueDefNumberClass
source§fn clone(&self) -> ConditionalPredicateValueDefNumberClass
fn clone(&self) -> ConditionalPredicateValueDefNumberClass
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 ConditionalPredicateValueDefNumberClass
impl Default for ConditionalPredicateValueDefNumberClass
source§fn default() -> ConditionalPredicateValueDefNumberClass
fn default() -> ConditionalPredicateValueDefNumberClass
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ConditionalPredicateValueDefNumberClass
impl<'de> Deserialize<'de> for ConditionalPredicateValueDefNumberClass
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<ConditionalPredicateValueDefNumberClass> for OrderFieldDefCondition
impl From<ConditionalPredicateValueDefNumberClass> for OrderFieldDefCondition
source§fn from(
original: ConditionalPredicateValueDefNumberClass
) -> OrderFieldDefCondition
fn from( original: ConditionalPredicateValueDefNumberClass ) -> OrderFieldDefCondition
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for ConditionalPredicateValueDefNumberClass
impl Send for ConditionalPredicateValueDefNumberClass
impl Sync for ConditionalPredicateValueDefNumberClass
impl Unpin for ConditionalPredicateValueDefNumberClass
impl UnwindSafe for ConditionalPredicateValueDefNumberClass
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