pub enum ConditionalRuleType {
Show 18 variants
Expression,
CellIs,
ColorScale,
DataBar,
IconSet,
Top10,
UniqueValues,
DuplicateValues,
ContainsText,
NotContainsText,
BeginsWith,
EndsWith,
ContainsBlanks,
NotContainsBlanks,
ContainsErrors,
NotContainsErrors,
TimePeriod,
AboveAverage,
}Expand description
Type of conditional formatting rule.
Used when writing conditional formatting via [ConditionalFormat].
ECMA-376 Part 1, Section 18.18.12 (ST_CfType).
Variants§
Expression
Expression-based rule.
CellIs
Cell value comparison.
ColorScale
Color scale gradient.
DataBar
Data bar visualization.
IconSet
Icon set.
Top10
Top N values.
UniqueValues
Unique values.
DuplicateValues
Duplicate values.
ContainsText
Contains specified text.
NotContainsText
Does not contain specified text.
BeginsWith
Begins with specified text.
EndsWith
Ends with specified text.
ContainsBlanks
Contains blanks.
NotContainsBlanks
Does not contain blanks.
ContainsErrors
Contains errors.
NotContainsErrors
Does not contain errors.
TimePeriod
Time period comparison.
AboveAverage
Above or below average.
Implementations§
Trait Implementations§
Source§impl Clone for ConditionalRuleType
impl Clone for ConditionalRuleType
Source§fn clone(&self) -> ConditionalRuleType
fn clone(&self) -> ConditionalRuleType
Returns a duplicate 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 Debug for ConditionalRuleType
impl Debug for ConditionalRuleType
Source§impl PartialEq for ConditionalRuleType
impl PartialEq for ConditionalRuleType
impl Copy for ConditionalRuleType
impl Eq for ConditionalRuleType
impl StructuralPartialEq for ConditionalRuleType
Auto Trait Implementations§
impl Freeze for ConditionalRuleType
impl RefUnwindSafe for ConditionalRuleType
impl Send for ConditionalRuleType
impl Sync for ConditionalRuleType
impl Unpin for ConditionalRuleType
impl UnsafeUnpin for ConditionalRuleType
impl UnwindSafe for ConditionalRuleType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.