Struct typedb_driver::answer::concept_map::ConceptMap
source · pub struct ConceptMap {
pub map: HashMap<String, Concept>,
pub explainables: Explainables,
}
Expand description
Contains a mapping of variables to concepts.
Fields§
§map: HashMap<String, Concept>
The HashMap
where keys are query variables, and values are concepts.
explainables: Explainables
The Explainables
object for this ConceptMap
, that exposes which of the concepts
in this ConceptMap
are explainable.
Implementations§
Trait Implementations§
source§impl Clone for ConceptMap
impl Clone for ConceptMap
source§fn clone(&self) -> ConceptMap
fn clone(&self) -> ConceptMap
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 ConceptMap
impl Debug for ConceptMap
source§impl From<ConceptMap> for HashMap<String, Concept>
impl From<ConceptMap> for HashMap<String, Concept>
source§fn from(cm: ConceptMap) -> Self
fn from(cm: ConceptMap) -> Self
Converts to this type from the input type.
source§impl Index<String> for ConceptMap
impl Index<String> for ConceptMap
source§impl IntoIterator for ConceptMap
impl IntoIterator for ConceptMap
source§impl PartialEq for ConceptMap
impl PartialEq for ConceptMap
source§fn eq(&self, other: &ConceptMap) -> bool
fn eq(&self, other: &ConceptMap) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ConceptMap
Auto Trait Implementations§
impl Freeze for ConceptMap
impl RefUnwindSafe for ConceptMap
impl Send for ConceptMap
impl Sync for ConceptMap
impl Unpin for ConceptMap
impl UnwindSafe for ConceptMap
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request