pub struct RowProjectionOutput {
pub entity: String,
pub columns: Vec<String>,
pub rows: Vec<Vec<OutputValue>>,
pub row_count: u32,
}Expand description
Row-oriented output from one accepted-schema-driven projection.
Fields§
§entity: StringAccepted entity name used for the read.
columns: Vec<String>Selected output-column names in row order.
rows: Vec<Vec<OutputValue>>Row-oriented output values.
row_count: u32Number of returned rows.
Implementations§
Source§impl RowProjectionOutput
impl RowProjectionOutput
Sourcepub fn rendered_rows(&self) -> Vec<Vec<String>>
pub fn rendered_rows(&self) -> Vec<Vec<String>>
Render row values into stable display strings.
Trait Implementations§
Source§impl CandidType for RowProjectionOutput
impl CandidType for RowProjectionOutput
Source§impl Clone for RowProjectionOutput
impl Clone for RowProjectionOutput
Source§fn clone(&self) -> RowProjectionOutput
fn clone(&self) -> RowProjectionOutput
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RowProjectionOutput
impl Debug for RowProjectionOutput
Source§impl<'de> Deserialize<'de> for RowProjectionOutput
impl<'de> Deserialize<'de> for RowProjectionOutput
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for RowProjectionOutput
Source§impl PartialEq for RowProjectionOutput
impl PartialEq for RowProjectionOutput
impl StructuralPartialEq for RowProjectionOutput
Auto Trait Implementations§
impl Freeze for RowProjectionOutput
impl RefUnwindSafe for RowProjectionOutput
impl Send for RowProjectionOutput
impl Sync for RowProjectionOutput
impl Unpin for RowProjectionOutput
impl UnsafeUnpin for RowProjectionOutput
impl UnwindSafe for RowProjectionOutput
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