pub enum DataValidationType {
None,
Whole,
Decimal,
List,
Date,
Time,
TextLength,
Custom,
}Expand description
Type of data validation.
ECMA-376 Part 1, Section 18.18.21 (ST_DataValidationType).
Variants§
None
No validation.
Whole
Whole number.
Decimal
Decimal number.
List
List of values (dropdown).
Date
Date.
Time
Time.
TextLength
Text length.
Custom
Custom formula.
Implementations§
Source§impl DataValidationType
impl DataValidationType
Sourcepub fn to_xml_value(self) -> &'static str
pub fn to_xml_value(self) -> &'static str
Convert to XML attribute value.
Trait Implementations§
Source§impl Clone for DataValidationType
impl Clone for DataValidationType
Source§fn clone(&self) -> DataValidationType
fn clone(&self) -> DataValidationType
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 DataValidationType
impl Debug for DataValidationType
Source§impl Default for DataValidationType
impl Default for DataValidationType
Source§fn default() -> DataValidationType
fn default() -> DataValidationType
Returns the “default value” for a type. Read more
Source§impl PartialEq for DataValidationType
impl PartialEq for DataValidationType
impl Copy for DataValidationType
impl Eq for DataValidationType
impl StructuralPartialEq for DataValidationType
Auto Trait Implementations§
impl Freeze for DataValidationType
impl RefUnwindSafe for DataValidationType
impl Send for DataValidationType
impl Sync for DataValidationType
impl Unpin for DataValidationType
impl UnsafeUnpin for DataValidationType
impl UnwindSafe for DataValidationType
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.