pub enum Level {
L1,
L2,
L3,
}Expand description
A MIF level floor (L1/L2/L3 conformance tier).
Level floors are additive: L2 requires everything L1 requires plus its
own fields, and L3 requires everything L2 requires plus its own. L1’s
fields (id/@id, type/conceptType, created) are already enforced
by the canonical core schema’s required list, so validate_level
with Level::L1 is equivalent to validate_document; L2 and L3 add
genuinely new checks beyond the core schema.
Variants§
L1
id, type, created — already enforced by the core schema.
L2
Adds namespace, modified, temporal.
L3
Adds provenance and a non-null temporal.validFrom.
Trait Implementations§
impl Copy for Level
impl Eq for Level
impl StructuralPartialEq for Level
Auto Trait Implementations§
impl Freeze for Level
impl RefUnwindSafe for Level
impl Send for Level
impl Sync for Level
impl Unpin for Level
impl UnsafeUnpin for Level
impl UnwindSafe for Level
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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.