Struct exon_common::TableSchema
source · pub struct TableSchema { /* private fields */ }
Expand description
An object that holds the schema for a table and the projection of the file schema to the table schema.
Implementations§
source§impl TableSchema
impl TableSchema
sourcepub fn file_schema(&self) -> Result<SchemaRef>
pub fn file_schema(&self) -> Result<SchemaRef>
Get the schema for the underlying file
sourcepub fn table_schema(&self) -> SchemaRef
pub fn table_schema(&self) -> SchemaRef
Get the schema for the table
Trait Implementations§
source§impl Clone for TableSchema
impl Clone for TableSchema
source§fn clone(&self) -> TableSchema
fn clone(&self) -> TableSchema
Returns a copy 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 moreAuto Trait Implementations§
impl RefUnwindSafe for TableSchema
impl Send for TableSchema
impl Sync for TableSchema
impl Unpin for TableSchema
impl UnwindSafe for TableSchema
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