Trait mentat_transaction::entity_builder::BuildTerms
[−]
[src]
pub trait BuildTerms where
Self: Sized, { fn named_tempid<I>(&mut self, name: I) -> ValueRc<TempId>
where
I: Into<String>; fn describe_tempid(self, name: &str) -> EntityBuilder<Self>; fn describe<E>(self, entity: E) -> EntityBuilder<Self>
where
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>>; 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>>; }
Required Methods
fn named_tempid<I>(&mut self, name: I) -> ValueRc<TempId> where
I: Into<String>,
I: Into<String>,
fn describe_tempid(self, name: &str) -> EntityBuilder<Self>
fn describe<E>(self, entity: E) -> EntityBuilder<Self> where
E: Into<EntityPlace<TypedValue>>,
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>>,
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>>,
E: Into<EntityPlace<TypedValue>>,
A: Into<AttributePlace>,
V: Into<ValuePlace<TypedValue>>,
Implementors
impl BuildTerms for TermBuilder
impl<'a, 'c> BuildTerms for InProgressBuilder<'a, 'c>