pub enum SchemaFormat {
MereNative,
JsonSchema,
JsonLd,
}Expand description
The schema-definition format used by a schema engram. Open-ended architecturally; new variants can be added without breaking existing schema engrams (other consumers see an unknown variant and either skip validation or surface a “validator not available” error per their own policy).
Variants§
MereNative
Eidetic’s native JSON shape — primary format.
JsonSchema
JSON Schema (Draft 7+).
JsonLd
JSON-LD with optional schema.org @type.
Trait Implementations§
Source§impl Clone for SchemaFormat
impl Clone for SchemaFormat
impl Copy for SchemaFormat
Source§impl Debug for SchemaFormat
impl Debug for SchemaFormat
Source§impl<'de> Deserialize<'de> for SchemaFormat
impl<'de> Deserialize<'de> for SchemaFormat
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SchemaFormat
Source§impl PartialEq for SchemaFormat
impl PartialEq for SchemaFormat
Source§impl Serialize for SchemaFormat
impl Serialize for SchemaFormat
impl StructuralPartialEq for SchemaFormat
Auto Trait Implementations§
impl Freeze for SchemaFormat
impl RefUnwindSafe for SchemaFormat
impl Send for SchemaFormat
impl Sync for SchemaFormat
impl Unpin for SchemaFormat
impl UnsafeUnpin for SchemaFormat
impl UnwindSafe for SchemaFormat
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