pub struct TabularData {
pub headers: Vec<String>,
pub rows: Vec<Vec<String>>,
}Expand description
Format-neutral tabular data. Produced by CSV, Excel, Parquet comparators; consumed by tabular transformers and extractors.
This is the codec type for the [TABULAR_V1] artifact format.
Serialize with serde_json::to_vec, deserialize with serde_json::from_slice.
Fields§
§headers: Vec<String>§rows: Vec<Vec<String>>Implementations§
Trait Implementations§
Source§impl Clone for TabularData
impl Clone for TabularData
Source§fn clone(&self) -> TabularData
fn clone(&self) -> TabularData
Returns a duplicate of the value. Read more
1.0.0 · 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 TabularData
impl Debug for TabularData
Source§impl<'de> Deserialize<'de> for TabularData
impl<'de> Deserialize<'de> for TabularData
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
Source§impl PartialEq for TabularData
impl PartialEq for TabularData
Source§impl Serialize for TabularData
impl Serialize for TabularData
impl Eq for TabularData
impl StructuralPartialEq for TabularData
Auto Trait Implementations§
impl Freeze for TabularData
impl RefUnwindSafe for TabularData
impl Send for TabularData
impl Sync for TabularData
impl Unpin for TabularData
impl UnsafeUnpin for TabularData
impl UnwindSafe for TabularData
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