pub struct ExtractedTable {
pub id: String,
pub headers: Vec<String>,
pub rows: Vec<Vec<TableCell>>,
pub summary: Option<String>,
pub column_types: Vec<DataType>,
pub embedding: Option<Vec<f32>>,
pub statistics: Option<TableStatistics>,
}Expand description
Extracted table data
Fields§
§id: StringTable ID
headers: Vec<String>Table headers
rows: Vec<Vec<TableCell>>Table data rows
summary: Option<String>Table summary
column_types: Vec<DataType>Column types
embedding: Option<Vec<f32>>Table embedding
statistics: Option<TableStatistics>Statistics
Trait Implementations§
Source§impl Clone for ExtractedTable
impl Clone for ExtractedTable
Source§fn clone(&self) -> ExtractedTable
fn clone(&self) -> ExtractedTable
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 ExtractedTable
impl Debug for ExtractedTable
Source§impl<'de> Deserialize<'de> for ExtractedTable
impl<'de> Deserialize<'de> for ExtractedTable
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
Auto Trait Implementations§
impl Freeze for ExtractedTable
impl RefUnwindSafe for ExtractedTable
impl Send for ExtractedTable
impl Sync for ExtractedTable
impl Unpin for ExtractedTable
impl UnwindSafe for ExtractedTable
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