Struct trustfall_core::ir::IRQueryComponent
source · pub struct IRQueryComponent {
pub root: Vid,
pub vertices: BTreeMap<Vid, IRVertex>,
pub edges: BTreeMap<Eid, Arc<IREdge>>,
pub folds: BTreeMap<Eid, Arc<IRFold>>,
pub outputs: BTreeMap<Arc<str>, ContextField>,
}
Expand description
A complete component of a query; may itself contain one or more components.
Contains information about the Vid where the component is rooted, as well as well as maps of all vertices, edges, folds, and outputs from this component.
Fields§
§root: Vid
The Vid of the root, or entry point, of the component.
vertices: BTreeMap<Vid, IRVertex>
§edges: BTreeMap<Eid, Arc<IREdge>>
§folds: BTreeMap<Eid, Arc<IRFold>>
§outputs: BTreeMap<Arc<str>, ContextField>
Trait Implementations§
source§impl Clone for IRQueryComponent
impl Clone for IRQueryComponent
source§fn clone(&self) -> IRQueryComponent
fn clone(&self) -> IRQueryComponent
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 IRQueryComponent
impl Debug for IRQueryComponent
source§impl<'de> Deserialize<'de> for IRQueryComponent
impl<'de> Deserialize<'de> for IRQueryComponent
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for IRQueryComponent
impl PartialEq for IRQueryComponent
source§fn eq(&self, other: &IRQueryComponent) -> bool
fn eq(&self, other: &IRQueryComponent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for IRQueryComponent
impl Serialize for IRQueryComponent
impl Eq for IRQueryComponent
impl StructuralEq for IRQueryComponent
impl StructuralPartialEq for IRQueryComponent
Auto Trait Implementations§
impl RefUnwindSafe for IRQueryComponent
impl Send for IRQueryComponent
impl Sync for IRQueryComponent
impl Unpin for IRQueryComponent
impl UnwindSafe for IRQueryComponent
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.