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 RowInstancewhere
*const ArcInner<SpecIdentity> is !null: Freeze,
PhantomData<ArcInner<SpecIdentity>>: Freeze,
*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,
*const [Option<RowBinding>] is !null: Freeze,
PhantomData<[Option<RowBinding>]>: Freeze,
impl Move for RowInstance
impl RefUnwindSafe for RowInstance
impl Send for RowInstance
impl Sync for RowInstance
impl Unpin for RowInstance
impl UnsafeUnpin for RowInstancewhere
*const ArcInner<SpecIdentity> is !null: UnsafeUnpin,
PhantomData<ArcInner<SpecIdentity>>: UnsafeUnpin,
*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,
*const [Option<RowBinding>] is !null: UnsafeUnpin,
PhantomData<[Option<RowBinding>]>: UnsafeUnpin,
impl UnwindSafe for RowInstancewhere
Arc<SpecIdentity>: UnwindSafe,
RawVecInner: UnwindSafe,
Arc<str>: UnwindSafe,
Arc<PathBuf>: UnwindSafe,
BoxRaw<InstanceKey>: UnwindSafe,
BoxRaw<[Option<RowBinding>]>: 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
Mutably borrows from an owned value. Read more