pub struct Field {
pub name: String,
pub data_type: DataType,
pub is_nullable: bool,
pub metadata: Metadata,
}
Expand description
Represents Arrow’s metadata of a “column”.
A Field
is the closest representation of the traditional “column”: a logical type
(DataType
) with a name and nullability.
A Field has optional Metadata
that can be used to annotate the field with custom metadata.
Almost all IO in this crate uses Field
to represent logical information about the data
to be serialized.
Fields
name: String
Its name
data_type: DataType
Its logical DataType
is_nullable: bool
Its nullability
metadata: Metadata
Additional custom (opaque) metadata.
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Field
impl UnwindSafe for Field
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.