pub enum CfRule {
Show 18 variants
ColorScale {
thresholds: Vec<ColorScaleThreshold>,
},
CellIs {
operator: ValueOperator,
formula: String,
formula2: Option<String>,
dxf_id: u32,
stop_if_true: bool,
},
Formula {
formula: String,
dxf_id: u32,
stop_if_true: bool,
},
Text {
operator: TextOperator,
value: String,
dxf_id: u32,
stop_if_true: bool,
},
TimePeriod {
time_period: PeriodType,
date1: Option<String>,
date2: Option<String>,
dxf_id: u32,
stop_if_true: bool,
},
DuplicateValues {
dxf_id: u32,
stop_if_true: bool,
},
UniqueValues {
dxf_id: u32,
stop_if_true: bool,
},
Blanks {
dxf_id: u32,
stop_if_true: bool,
},
NotBlanks {
dxf_id: u32,
stop_if_true: bool,
},
Errors {
dxf_id: u32,
stop_if_true: bool,
},
NoErrors {
dxf_id: u32,
stop_if_true: bool,
},
AboveAverage {
dxf_id: u32,
stop_if_true: bool,
},
BelowAverage {
dxf_id: u32,
stop_if_true: bool,
},
Top10 {
rank: u32,
percent: bool,
dxf_id: u32,
stop_if_true: bool,
},
Bottom10 {
rank: u32,
percent: bool,
dxf_id: u32,
stop_if_true: bool,
},
DataBar {
min: Option<Cfvo>,
max: Option<Cfvo>,
positive_color: Color,
negative_color: Color,
is_gradient: bool,
show_value: bool,
},
IconSet {
thresholds: Vec<IconThreshold>,
show_value: bool,
},
IconRating {
icon: Icon,
color: Color,
thresholds: Vec<(Cfvo, bool)>,
show_value: bool,
},
}Variants§
ColorScale
Fields
§
thresholds: Vec<ColorScaleThreshold>CellIs
Fields
§
operator: ValueOperatorFormula
Text
TimePeriod
Fields
§
time_period: PeriodTypeDuplicateValues
UniqueValues
Blanks
NotBlanks
Errors
NoErrors
AboveAverage
BelowAverage
Top10
Bottom10
DataBar
Fields
IconSet
IconRating
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CfRule
impl<'de> Deserialize<'de> for CfRule
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
impl<'__de> Decode<'__de> for CfRulewhere
'__de:,
impl Encode for CfRule
impl StructuralPartialEq for CfRule
Auto Trait Implementations§
impl Freeze for CfRule
impl RefUnwindSafe for CfRule
impl Send for CfRule
impl Sync for CfRule
impl Unpin for CfRule
impl UnsafeUnpin for CfRule
impl UnwindSafe for CfRule
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