Trait typeql::pattern::ThingStatementBuilder
source · pub trait ThingStatementBuilder {
Show 14 methods
// Required methods
fn has(self, has: impl Into<HasConstraint>) -> ThingStatement;
fn rel(self, value: impl Into<RolePlayerConstraint>) -> ThingStatement;
fn relation(self, relation: impl Into<RelationConstraint>) -> ThingStatement;
fn iid<T: Into<IIDConstraint>>(self, iid: T) -> ThingStatement;
fn isa(self, isa: impl Into<IsaConstraint>) -> ThingStatement;
fn predicate(self, predicate: impl Into<Predicate>) -> ThingStatement;
fn eq(self, value: impl Into<Value>) -> ThingStatement;
fn neq(self, value: impl Into<Value>) -> ThingStatement;
fn gt(self, value: impl Into<Value>) -> ThingStatement;
fn gte(self, value: impl Into<Value>) -> ThingStatement;
fn lt(self, value: impl Into<Value>) -> ThingStatement;
fn lte(self, value: impl Into<Value>) -> ThingStatement;
fn contains(self, string: impl Into<String>) -> ThingStatement;
fn like(self, string: impl Into<String>) -> ThingStatement;
}Required Methods§
fn has(self, has: impl Into<HasConstraint>) -> ThingStatement
fn rel(self, value: impl Into<RolePlayerConstraint>) -> ThingStatement
fn relation(self, relation: impl Into<RelationConstraint>) -> ThingStatement
fn iid<T: Into<IIDConstraint>>(self, iid: T) -> ThingStatement
fn isa(self, isa: impl Into<IsaConstraint>) -> ThingStatement
fn predicate(self, predicate: impl Into<Predicate>) -> ThingStatement
fn eq(self, value: impl Into<Value>) -> ThingStatement
fn neq(self, value: impl Into<Value>) -> ThingStatement
fn gt(self, value: impl Into<Value>) -> ThingStatement
fn gte(self, value: impl Into<Value>) -> ThingStatement
fn lt(self, value: impl Into<Value>) -> ThingStatement
fn lte(self, value: impl Into<Value>) -> ThingStatement
fn contains(self, string: impl Into<String>) -> ThingStatement
fn like(self, string: impl Into<String>) -> ThingStatement
Object Safety§
This trait is not object safe.