Struct dsntk_model::ContextEntry
source · pub struct ContextEntry {
pub variable: Option<InformationItem>,
pub value: ExpressionInstance,
}Expand description
The class ContextEntry is used to model FEEL context entries when a context is modeled as a Context element.
Fields§
§variable: Option<InformationItem>The instance of InformationItem that is contained in this ContextEntry, and whose name is the key in the modeled context entry.
value: ExpressionInstanceThe instance of Expression that is the expression in this ContextEntry.
Trait Implementations§
source§impl Clone for ContextEntry
impl Clone for ContextEntry
source§fn clone(&self) -> ContextEntry
fn clone(&self) -> ContextEntry
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 ContextEntry
impl Debug for ContextEntry
source§impl PartialEq for ContextEntry
impl PartialEq for ContextEntry
source§fn eq(&self, other: &ContextEntry) -> bool
fn eq(&self, other: &ContextEntry) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ContextEntry
Auto Trait Implementations§
impl RefUnwindSafe for ContextEntry
impl Send for ContextEntry
impl Sync for ContextEntry
impl Unpin for ContextEntry
impl UnwindSafe for ContextEntry
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