Struct trustfall_core::interpreter::InterpretedQuery
source · pub struct InterpretedQuery {
pub indexed_query: Arc<IndexedQuery>,
pub arguments: Arc<BTreeMap<Arc<str>, FieldValue>>,
}
Fields§
§indexed_query: Arc<IndexedQuery>
§arguments: Arc<BTreeMap<Arc<str>, FieldValue>>
Implementations§
source§impl InterpretedQuery
impl InterpretedQuery
pub fn from_query_and_arguments( indexed_query: Arc<IndexedQuery>, arguments: Arc<BTreeMap<Arc<str>, FieldValue>> ) -> Result<Self, QueryArgumentsError>
Trait Implementations§
source§impl Clone for InterpretedQuery
impl Clone for InterpretedQuery
source§fn clone(&self) -> InterpretedQuery
fn clone(&self) -> InterpretedQuery
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for InterpretedQuery
impl Debug for InterpretedQuery
source§impl PartialEq for InterpretedQuery
impl PartialEq for InterpretedQuery
source§fn eq(&self, other: &InterpretedQuery) -> bool
fn eq(&self, other: &InterpretedQuery) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for InterpretedQuery
impl StructuralEq for InterpretedQuery
impl StructuralPartialEq for InterpretedQuery
Auto Trait Implementations§
impl RefUnwindSafe for InterpretedQuery
impl Send for InterpretedQuery
impl Sync for InterpretedQuery
impl Unpin for InterpretedQuery
impl UnwindSafe for InterpretedQuery
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.