pub struct RowRead {
pub columns: Vec<ColumnSpec>,
pub rows: Vec<Vec<ColumnValue>>,
}Expand description
A row-shaped read and the projection it was actually read with (#1351).
The columns travel with the rows because field-level RBAC (#886) can narrow them: the adapter zips values to specs positionally, so a caller that encoded with the specs it asked for rather than the ones the read used would shift every value one column to the left the moment a field was withheld — serving one field’s value under another field’s name.
Fields§
§columns: Vec<ColumnSpec>The columns read, after field-level RBAC narrowed them.
rows: Vec<Vec<ColumnValue>>The rows, each in columns order.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RowRead
impl RefUnwindSafe for RowRead
impl Send for RowRead
impl Sync for RowRead
impl Unpin for RowRead
impl UnsafeUnpin for RowRead
impl UnwindSafe for RowRead
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