Struct spreadsheet_ods::validation::ValidationError
source · pub struct ValidationError { /* private fields */ }Expand description
Error handling for content validations.
Implementations§
source§impl ValidationError
impl ValidationError
sourcepub fn set_display(&mut self, display: bool)
pub fn set_display(&mut self, display: bool)
Is the error text shown.
sourcepub fn set_msg_type(&mut self, msg_type: MessageType)
pub fn set_msg_type(&mut self, msg_type: MessageType)
Type of error.
sourcepub fn msg_type(&self) -> &MessageType
pub fn msg_type(&self) -> &MessageType
Type of error.
Trait Implementations§
source§impl Clone for ValidationError
impl Clone for ValidationError
source§fn clone(&self) -> ValidationError
fn clone(&self) -> ValidationError
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 Debug for ValidationError
impl Debug for ValidationError
Auto Trait Implementations§
impl RefUnwindSafe for ValidationError
impl Send for ValidationError
impl Sync for ValidationError
impl Unpin for ValidationError
impl UnwindSafe for ValidationError
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