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: ExpressionInstance
The 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 duplicate 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
impl StructuralPartialEq for ContextEntry
Auto Trait Implementations§
impl Freeze for ContextEntry
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