pub enum ValidationLevel {
Structure,
Conditions,
Full,
}Expand description
Level of validation strictness.
Controls which checks are performed during validation.
Variants§
Structure
Validate only EDIFACT structure: segment presence, ordering, and repetition counts against the MIG schema.
Conditions
Validate structure plus AHB condition expressions for the detected
Pruefidentifikator. Requires a registered ConditionEvaluator.
Full
Full validation: structure, conditions, format checks, and code value restrictions. The most thorough level.
Trait Implementations§
Source§impl Clone for ValidationLevel
impl Clone for ValidationLevel
Source§fn clone(&self) -> ValidationLevel
fn clone(&self) -> ValidationLevel
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ValidationLevel
Source§impl Debug for ValidationLevel
impl Debug for ValidationLevel
Source§impl Default for ValidationLevel
impl Default for ValidationLevel
Source§fn default() -> ValidationLevel
fn default() -> ValidationLevel
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ValidationLevel
impl<'de> Deserialize<'de> for ValidationLevel
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ValidationLevel, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ValidationLevel, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for ValidationLevel
impl Display for ValidationLevel
impl Eq for ValidationLevel
Source§impl Hash for ValidationLevel
impl Hash for ValidationLevel
Source§impl PartialEq for ValidationLevel
impl PartialEq for ValidationLevel
Source§impl Serialize for ValidationLevel
impl Serialize for ValidationLevel
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for ValidationLevel
Auto Trait Implementations§
impl Freeze for ValidationLevel
impl RefUnwindSafe for ValidationLevel
impl Send for ValidationLevel
impl Sync for ValidationLevel
impl Unpin for ValidationLevel
impl UnsafeUnpin for ValidationLevel
impl UnwindSafe for ValidationLevel
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.