Struct mentat_core::StructuredMap
[−]
[src]
A pull expression expands a binding into a structure. The returned structure
associates attributes named in the input or retrieved from the store with values.
This association is a StructuredMap
.
Note that 'attributes' in Datomic's case can mean:
- Reversed attribute keywords (:artist/_country).
- An alias using
:as
(:artist/name :as "Band name").
We entirely support the former, and partially support the latter -- you can alias using a different keyword only.
Methods
impl StructuredMap
[src]
[−]
impl StructuredMap
pub fn insert<N, B>(&mut self, name: N, value: B) where
N: Into<ValueRc<Keyword>>,
B: Into<Binding>,
[src]
pub fn insert<N, B>(&mut self, name: N, value: B) where
N: Into<ValueRc<Keyword>>,
B: Into<Binding>,
Trait Implementations
impl From<StructuredMap> for Binding
[src]
[+]
impl From<StructuredMap> for Binding
impl Clone for StructuredMap
[src]
[+]
impl Clone for StructuredMap
impl Debug for StructuredMap
[src]
[+]
impl Debug for StructuredMap
impl Default for StructuredMap
[src]
[+]
impl Default for StructuredMap
impl Eq for StructuredMap
[src]
impl Eq for StructuredMap
impl PartialEq for StructuredMap
[src]
[+]
impl PartialEq for StructuredMap
impl From<IndexMap<ValueRc<Keyword>, Binding>> for StructuredMap
[src]
[+]
impl From<IndexMap<ValueRc<Keyword>, Binding>> for StructuredMap
impl<T> From<Vec<(Keyword, T)>> for StructuredMap where
T: Into<Binding>,
[src]
[+]
impl<T> From<Vec<(Keyword, T)>> for StructuredMap where
T: Into<Binding>,
Auto Trait Implementations
impl Send for StructuredMap
impl Send for StructuredMap
impl Sync for StructuredMap
impl Sync for StructuredMap