pub enum RowOrigin {
Numbered {
list: String,
number: usize,
under: Option<Arc<str>>,
},
Written {
instance: SpecInstance,
source: Source,
},
Import {
alias: Arc<str>,
},
Inline {
node: NormalFormId,
position: usize,
},
}Expand description
Where a row instance came from. Names missing fields and explanations.
Variants§
Numbered
Row number (1-based) of list list: a run-data row. under is the
evaluation-data key of the run-data row whose list it is (items.1); None for
a list of the request’s plan.
Written
A row written in the spec at source, read through the row spec’s template
plan. The instance names it relative to the plan holding its list (staff.2).
Import
The row of uses alias, named relative to the plan declaring it.
Inline
Row written inline by the -> with field: value command at cell node, as row
position (1-based) of its result. Its written fields are values of the plan
that holds the command and are read as that plan planned them; the row spec’s
rules run over them in the row’s context. Every field a read names is set:
planning rejects reads of unset fields.
Trait Implementations§
impl Eq for RowOrigin
impl StructuralPartialEq for RowOrigin
Auto Trait Implementations§
impl Forget for RowOrigin
impl Freeze for RowOrigin
impl Move for RowOrigin
impl RefUnwindSafe for RowOrigin
impl Send for RowOrigin
impl Sync for RowOrigin
impl Unpin for RowOrigin
impl UnsafeUnpin for RowOrigin
impl UnwindSafe for RowOrigin
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.