Struct polars_arrow::datatypes::ArrowSchema
source · pub struct ArrowSchema {
pub fields: Vec<Field>,
pub metadata: Metadata,
}
Expand description
An ordered sequence of Field
s with associated Metadata
.
ArrowSchema
is an abstraction used to read from, and write to, Arrow IPC format,
Apache Parquet, and Apache Avro. All these formats have a concept of a schema
with fields and metadata.
Fields§
§fields: Vec<Field>
The fields composing this schema.
metadata: Metadata
Optional metadata.
Implementations§
source§impl ArrowSchema
impl ArrowSchema
Trait Implementations§
source§impl Clone for ArrowSchema
impl Clone for ArrowSchema
source§fn clone(&self) -> ArrowSchema
fn clone(&self) -> ArrowSchema
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 moresource§impl Debug for ArrowSchema
impl Debug for ArrowSchema
source§impl Default for ArrowSchema
impl Default for ArrowSchema
source§fn default() -> ArrowSchema
fn default() -> ArrowSchema
Returns the “default value” for a type. Read more
source§impl PartialEq for ArrowSchema
impl PartialEq for ArrowSchema
source§fn eq(&self, other: &ArrowSchema) -> bool
fn eq(&self, other: &ArrowSchema) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ArrowSchema
impl StructuralPartialEq for ArrowSchema
Auto Trait Implementations§
impl Freeze for ArrowSchema
impl RefUnwindSafe for ArrowSchema
impl Send for ArrowSchema
impl Sync for ArrowSchema
impl Unpin for ArrowSchema
impl UnwindSafe for ArrowSchema
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.