Struct mentat_transaction::entity_builder::TermBuilder
[−]
[src]
pub struct TermBuilder { /* fields omitted */ }
Methods
impl TermBuilder
[src]
pub fn build(self) -> Result<Terms>
[src]
pub fn new() -> TermBuilder
[src]
pub fn is_empty(&self) -> bool
[src]
pub fn numbered_tempid(&mut self, id: i64) -> ValueRc<TempId>
[src]
pub fn lookup_ref<A, V>(a: A, v: V) -> LookupRef<TypedValue> where
A: Into<AttributePlace>,
V: Into<TypedValue>,
[src]
A: Into<AttributePlace>,
V: Into<TypedValue>,
pub fn tx_function(op: &str) -> TxFunction
[src]
Trait Implementations
impl BuildTerms for TermBuilder
[src]
fn named_tempid<I>(&mut self, name: I) -> ValueRc<TempId> where
I: Into<String>,
[src]
I: Into<String>,
fn describe_tempid(self, name: &str) -> EntityBuilder<Self>
[src]
fn describe<E>(self, entity: E) -> EntityBuilder<Self> where
E: Into<EntityPlace<TypedValue>>,
[src]
E: Into<EntityPlace<TypedValue>>,
fn add<E, A, V>(&mut self, e: E, a: A, v: V) -> Result<()> where
E: Into<EntityPlace<TypedValue>>,
A: Into<AttributePlace>,
V: Into<ValuePlace<TypedValue>>,
[src]
E: Into<EntityPlace<TypedValue>>,
A: Into<AttributePlace>,
V: Into<ValuePlace<TypedValue>>,
fn retract<E, A, V>(&mut self, e: E, a: A, v: V) -> Result<()> where
E: Into<EntityPlace<TypedValue>>,
A: Into<AttributePlace>,
V: Into<ValuePlace<TypedValue>>,
[src]
E: Into<EntityPlace<TypedValue>>,
A: Into<AttributePlace>,
V: Into<ValuePlace<TypedValue>>,