Struct arrow::datatypes::Field
[−]
[src]
pub struct Field { /* fields omitted */ }
Arrow Field
Methods
impl Field
[src]
pub fn new(name: &str, data_type: DataType, nullable: bool) -> Self
[src]
pub fn name(&self) -> &String
[src]
pub fn data_type(&self) -> &DataType
[src]
pub fn is_nullable(&self) -> bool
[src]
pub fn from(json: &Value) -> Result<Self, ArrowError>
[src]
Parse a field definition from a JSON representation
pub fn to_json(&self) -> Value
[src]
Generate a JSON representation of the field
pub fn to_string(&self) -> String
[src]
Trait Implementations
impl Debug for Field
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for Field
[src]
fn clone(&self) -> Field
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for Field
[src]
fn eq(&self, __arg_0: &Field) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Field) -> bool
[src]
This method tests for !=
.