</span></span></h1><divclass="docblock type-decl"><preclass='rust struct'>pub struct InProgress<'a, 'c> { /* fields omitted */ }</pre></div><divclass='docblock'><p>Represents an in-progress, not yet committed, set of changes to the store.
<h3id='impl'class='impl'><spanclass='in-band'><tableclass='table-display'><tbody><tr><td><code>impl<'a, 'c><aclass="struct"href="../mentat_ffi/struct.InProgress.html"title="struct mentat_ffi::InProgress">InProgress</a><'a, 'c></code><ahref='#impl'class='anchor'></a></span></td><td><spanclass='out-of-band'></span></td></tr></tbody></table></h3><divclass='impl-items'><h4id='method.builder'class="method"><spanid='builder.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>pub fn <ahref='#method.builder'class='fnname'>builder</a>(self) -><aclass="struct"href="../mentat_ffi/struct.InProgressBuilder.html"title="struct mentat_ffi::InProgressBuilder">InProgressBuilder</a><'a, 'c></code></td><td></td></tr></tbody></table></span></h4><h4id='method.use_caching'class="method"><spanid='use_caching.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>pub fn <ahref='#method.use_caching'class='fnname'>use_caching</a>(&mut self, yesno: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>)</code></td><td></td></tr></tbody></table></span></h4><divclass='docblock'><p>Choose whether to use in-memory caches for running queries.</p>
</div><h4id='method.transact_builder'class="method"><spanid='transact_builder.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>pub fn <ahref='#method.transact_builder'class='fnname'>transact_builder</a>(<br> &mut self, <br> builder: TermBuilder<br>) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><<aclass="struct"href="../mentat_ffi/struct.TxReport.html"title="struct mentat_ffi::TxReport">TxReport</a>, Error></code></td><td></td></tr></tbody></table></span></h4><divclass='docblock'><p>If you only have a reference to an <code>InProgress</code>, you can't use the easy builder.
</div><h4id='method.ensure_vocabularies'class="method"><spanid='ensure_vocabularies.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='#method.ensure_vocabularies'class='fnname'>ensure_vocabularies</a>(<br> &mut self, <br> vocabularies: &mut VocabularySource<br>) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><<aclass="struct"href="https://doc.rust-lang.org/nightly/alloc/btree/map/struct.BTreeMap.html"title="struct alloc::btree::map::BTreeMap">BTreeMap</a><<aclass="struct"href="../edn/symbols/struct.Keyword.html"title="struct edn::symbols::Keyword">Keyword</a>, VocabularyOutcome>, Error></code></td><td></td></tr></tbody></table></span></h4><divclass='docblock'><p>Check whether the provided vocabularies are present in the store at the correct version and with all defined attributes. If any are not, invoke the <code>pre</code> function on the provided <code>VocabularySource</code>, install or upgrade the necessary vocabularies, then invoke <code>post</code>. Returns <code>Ok</code> if all of these steps succeed. <ahref="#tymethod.ensure_vocabularies">Read more</a></p>
</div><h4id='method.check_vocabulary'class="method"><spanid='check_vocabulary.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='#method.check_vocabulary'class='fnname'>check_vocabulary</a>(<br> &self, <br> definition: &'definition Definition<br>) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><VocabularyCheck<'definition>, Error></code></td><td></td></tr></tbody></table></span></h4><divclass='docblock'><p>Check whether the vocabulary described by the provided metadata is present in the store.</p>
</div><h4id='method.verify_core_schema'class="method"><spanid='verify_core_schema.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='#method.verify_core_schema'class='fnname'>verify_core_schema</a>(&self) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><<aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Error></code></td><td></td></tr></tbody></table></span></h4><divclass='docblock'><p>Make sure that our expectations of the core vocabulary — basic types and attributes — are met.</p>
</div><h4id='method.identifies_attribute'class="method"><spanid='identifies_attribute.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='../mentat_ffi/trait.HasSchema.html#tymethod.identifies_attribute'class='fnname'>identifies_attribute</a>(&self, x: &<aclass="struct"href="../edn/symbols/struct.Keyword.html"title="struct edn::symbols::Keyword">Keyword</a>) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></td><td></td></tr></tbody></table></span></h4><divclass='docblock'><p>Return true if the provided ident identifies an attribute in this schema.</p>
</div><h4id='method.component_attributes'class="method"><divclass="important-traits"><divclass='tooltip'>ⓘ<spanclass='tooltiptext'>Important traits for <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">&'a [</a><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">]</a></span></div><divclass="content hidden"><h3class="important">Important traits for <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">&'a [</a><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">]</a></h3><codeclass="content"><spanclass="where fmt-newline">impl<'a><aclass="trait"href="https://doc.rust-lang.org/nightly/std/io/trait.Read.html"title="trait std::io::Read">Read</a> for <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">&'a [</a><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">]</a></span><spanclass="where fmt-newline">impl<'a><aclass="trait"href="https://doc.rust-lang.org/nightly/std/io/trait.Write.html"title="trait std::io::Write">Write</a> for <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">&'a mut [</a><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">]</a></span></code></div></div><spanid='component_attributes.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='../mentat_ffi/trait.HasSchema.html#tymethod.component_attributes'class='fnname'>component_attributes</a>(&self) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">&[</a><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">]</a></code></td><td></td></tr></tbody></table></span></h4></div></div>