pub enum DataValidationErrorStyle {
Stop,
Warning,
Information,
}Expand description
Error alert style for data validation.
ECMA-376 Part 1, Section 18.18.23 (ST_DataValidationErrorStyle).
Variants§
Stop
Stop: Prevents the user from entering invalid data.
Warning
Warning: Warns the user but allows invalid data.
Information
Information: Informs the user but allows invalid data.
Implementations§
Source§impl DataValidationErrorStyle
impl DataValidationErrorStyle
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 DataValidationErrorStyle
impl Clone for DataValidationErrorStyle
Source§fn clone(&self) -> DataValidationErrorStyle
fn clone(&self) -> DataValidationErrorStyle
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 DataValidationErrorStyle
impl Debug for DataValidationErrorStyle
Source§impl Default for DataValidationErrorStyle
impl Default for DataValidationErrorStyle
Source§fn default() -> DataValidationErrorStyle
fn default() -> DataValidationErrorStyle
Returns the “default value” for a type. Read more
Source§impl PartialEq for DataValidationErrorStyle
impl PartialEq for DataValidationErrorStyle
impl Copy for DataValidationErrorStyle
impl Eq for DataValidationErrorStyle
impl StructuralPartialEq for DataValidationErrorStyle
Auto Trait Implementations§
impl Freeze for DataValidationErrorStyle
impl RefUnwindSafe for DataValidationErrorStyle
impl Send for DataValidationErrorStyle
impl Sync for DataValidationErrorStyle
impl Unpin for DataValidationErrorStyle
impl UnsafeUnpin for DataValidationErrorStyle
impl UnwindSafe for DataValidationErrorStyle
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.