pub struct RowInstance {
pub identity: Arc<SpecIdentity>,
pub origin: RowOrigin,
pub bindings: Box<[Option<RowBinding>]>,
}Expand description
A row instance: its spec, where it came from, and its bound fields.
bindings are positional over the row spec’s template plan data slots (index = template.data.get_index_of).
A slot that is None reads the template’s own default or is missing.
Fields§
§identity: Arc<SpecIdentity>§origin: RowOrigin§bindings: Box<[Option<RowBinding>]>Implementations§
Source§impl RowInstance
impl RowInstance
pub fn get_binding( &self, template: &ExecutionPlan, path: &DataPath, ) -> Option<&RowBinding>
Sourcepub fn structural_byte_size(&self) -> usize
pub fn structural_byte_size(&self) -> usize
Upper-bound byte size of the row’s bound fields; see ValueKind::structural_byte_size.
Trait Implementations§
Source§impl Clone for RowInstance
impl Clone for RowInstance
Auto Trait Implementations§
impl Forget for RowInstance
impl Freeze for RowInstance
impl RefUnwindSafe for RowInstance
impl Send for RowInstance
impl Sync for RowInstance
impl Unpin for RowInstance
impl UnsafeUnpin for RowInstance
impl UnwindSafe for RowInstance
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