pub struct DatalogProfile { /* private fields */ }Expand description
Explicit language features, equality regime and structural limits selected for a program. This is neither an RDF entailment profile nor an execution strategy.
Implementations§
Source§impl DatalogProfile
impl DatalogProfile
Sourcepub fn new(
capabilities: DatalogCapabilities,
equality_mode: EqualityMode,
) -> Self
pub fn new( capabilities: DatalogCapabilities, equality_mode: EqualityMode, ) -> Self
Construct an explicit language contract with the standard
ValidationLimits. Program-specific combinations are checked by
Program::validate_for.
Sourcepub fn with_limits(self, limits: ValidationLimits) -> Self
pub fn with_limits(self, limits: ValidationLimits) -> Self
Replace this profile’s structural limits.
Sourcepub fn stratified() -> Self
pub fn stratified() -> Self
Flat Datalog with stratified negation, without built-in extensions.
Sourcepub fn capabilities(&self) -> &DatalogCapabilities
pub fn capabilities(&self) -> &DatalogCapabilities
The explicitly selected language features.
Sourcepub fn equality_mode(&self) -> EqualityMode
pub fn equality_mode(&self) -> EqualityMode
The selected equality validation regime.
Sourcepub fn limits(&self) -> &ValidationLimits
pub fn limits(&self) -> &ValidationLimits
The structural limits Program::validate_for enforces.
Trait Implementations§
Source§impl Clone for DatalogProfile
impl Clone for DatalogProfile
Source§impl Debug for DatalogProfile
impl Debug for DatalogProfile
Source§impl<'de> Deserialize<'de> for DatalogProfile
impl<'de> Deserialize<'de> for DatalogProfile
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 DatalogProfile
Source§impl PartialEq for DatalogProfile
impl PartialEq for DatalogProfile
Source§impl Serialize for DatalogProfile
impl Serialize for DatalogProfile
impl StructuralPartialEq for DatalogProfile
Auto Trait Implementations§
impl Forget for DatalogProfile
impl Freeze for DatalogProfile
impl Move for DatalogProfile
impl RefUnwindSafe for DatalogProfile
impl Send for DatalogProfile
impl Sync for DatalogProfile
impl Unpin for DatalogProfile
impl UnsafeUnpin for DatalogProfile
impl UnwindSafe for DatalogProfile
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