pub enum OntologyMode {
Exploratory,
Advisory,
Strict,
}Expand description
The active ontology enforcement mode for this query plan.
Defined in graphforge_core (shared with the project manifest) and re-exported
here so existing graphforge_ir::OntologyMode paths keep resolving.
How the binder resolves unknown labels, relation types, and property names.
Serialises as a lowercase string ("exploratory", "advisory",
"strict"). Lives in graphforge-core so that the project manifest
(manifest::ProjectManifest) and the binder (graphforge-ir) share one
definition; graphforge-ir re-exports it as graphforge_ir::OntologyMode.
Variants§
Exploratory
No ontology required; the runtime catalog auto-assigns integer IDs for every observed label/type.
Advisory
Ontology present; violations produce warnings, not errors.
Strict
Ontology required; violations produce a bind error.
Trait Implementations§
Source§impl Clone for OntologyMode
impl Clone for OntologyMode
Source§fn clone(&self) -> OntologyMode
fn clone(&self) -> OntologyMode
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for OntologyMode
Source§impl Debug for OntologyMode
impl Debug for OntologyMode
Source§impl Default for OntologyMode
impl Default for OntologyMode
Source§fn default() -> OntologyMode
fn default() -> OntologyMode
Source§impl<'de> Deserialize<'de> for OntologyMode
impl<'de> Deserialize<'de> for OntologyMode
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<OntologyMode, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<OntologyMode, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
impl Eq for OntologyMode
Source§impl Hash for OntologyMode
impl Hash for OntologyMode
Source§impl PartialEq for OntologyMode
impl PartialEq for OntologyMode
Source§impl Serialize for OntologyMode
impl Serialize for OntologyMode
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,
impl StructuralPartialEq for OntologyMode
Auto Trait Implementations§
impl Freeze for OntologyMode
impl RefUnwindSafe for OntologyMode
impl Send for OntologyMode
impl Sync for OntologyMode
impl Unpin for OntologyMode
impl UnsafeUnpin for OntologyMode
impl UnwindSafe for OntologyMode
Blanket Implementations§
impl<T> Allocation for T
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
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,
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
key and return true if they are equal.