pub enum RowOrigin {
Numbered {
list: String,
number: usize,
under: Option<Arc<str>>,
},
Written {
instance: SpecInstance,
source: Source,
copy_of: Option<Box<InstanceKey>>,
},
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).
Fields
instance: SpecInstanceImport
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 RowOriginwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
*const ArcInner<str> is !null: Freeze,
PhantomData<ArcInner<str>>: Freeze,
PhantomData<PathSegment>: Freeze,
*const ArcInner<PathBuf> is !null: Freeze,
PhantomData<ArcInner<PathBuf>>: Freeze,
*const InstanceKey is !null: Freeze,
PhantomData<InstanceKey>: Freeze,
impl Move for RowOrigin
impl RefUnwindSafe for RowOrigin
impl Send for RowOrigin
impl Sync for RowOrigin
impl Unpin for RowOrigin
impl UnsafeUnpin for RowOriginwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const ArcInner<str> is !null: UnsafeUnpin,
PhantomData<ArcInner<str>>: UnsafeUnpin,
PhantomData<PathSegment>: UnsafeUnpin,
*const ArcInner<PathBuf> is !null: UnsafeUnpin,
PhantomData<ArcInner<PathBuf>>: UnsafeUnpin,
*const InstanceKey is !null: UnsafeUnpin,
PhantomData<InstanceKey>: UnsafeUnpin,
impl UnwindSafe for RowOriginwhere
RawVecInner: UnwindSafe,
Arc<str>: UnwindSafe,
Arc<PathBuf>: UnwindSafe,
BoxRaw<InstanceKey>: UnwindSafe,
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.