pub enum ValidationErrorType {
MalformedXml,
MissingRequiredAttribute,
InvalidAttributeValue,
InvalidNesting,
ContentTooLong,
InvalidUrl,
InvalidPhoneNumber,
EmptyRequiredField,
InvalidEnumValue,
UnsupportedCombination,
}Expand description
Types of validation errors
Variants§
MalformedXml
XML is not well-formed
MissingRequiredAttribute
Missing required attribute
InvalidAttributeValue
Invalid attribute value
InvalidNesting
Invalid verb nesting
ContentTooLong
Content exceeds maximum length
InvalidUrl
Invalid URL format
InvalidPhoneNumber
Invalid phone number format
EmptyRequiredField
Empty required field
InvalidEnumValue
Invalid enum value
UnsupportedCombination
Unsupported feature combination
Trait Implementations§
Source§impl Clone for ValidationErrorType
impl Clone for ValidationErrorType
Source§fn clone(&self) -> ValidationErrorType
fn clone(&self) -> ValidationErrorType
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 ValidationErrorType
impl Debug for ValidationErrorType
Source§impl Display for ValidationErrorType
impl Display for ValidationErrorType
Source§impl PartialEq for ValidationErrorType
impl PartialEq for ValidationErrorType
impl StructuralPartialEq for ValidationErrorType
Auto Trait Implementations§
impl Freeze for ValidationErrorType
impl RefUnwindSafe for ValidationErrorType
impl Send for ValidationErrorType
impl Sync for ValidationErrorType
impl Unpin for ValidationErrorType
impl UnwindSafe for ValidationErrorType
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