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
fn from(value: StructuredMap) -> Self
[src]
fn from(value: StructuredMap) -> Self
Performs the conversion.
impl Clone for StructuredMap
[src]
impl Clone for StructuredMap
fn clone(&self) -> StructuredMap
[src]
fn clone(&self) -> StructuredMap
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for StructuredMap
[src]
impl Debug for StructuredMap
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Default for StructuredMap
[src]
impl Default for StructuredMap
fn default() -> StructuredMap
[src]
fn default() -> StructuredMap
Returns the "default value" for a type. Read more
impl Eq for StructuredMap
[src]
impl Eq for StructuredMap
impl PartialEq for StructuredMap
[src]
impl PartialEq for StructuredMap
fn eq(&self, __arg_0: &StructuredMap) -> bool
[src]
fn eq(&self, __arg_0: &StructuredMap) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &StructuredMap) -> bool
[src]
fn ne(&self, __arg_0: &StructuredMap) -> bool
This method tests for !=
.
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