pub struct Descriptor {
pub primitive_type: PrimitiveType,
pub max_def_level: i16,
pub max_rep_level: i16,
}
Available on crate feature
io_parquet
only.Expand description
A descriptor of a parquet column. It contains the necessary information to deserialize a parquet column.
Fields
primitive_type: PrimitiveType
The [PrimitiveType
] of this column
max_def_level: i16
The maximum definition level
max_rep_level: i16
The maximum repetition level
Trait Implementations
impl Clone for Descriptor
impl Clone for Descriptor
fn clone(&self) -> Descriptor
fn clone(&self) -> Descriptor
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for Descriptor
impl Debug for Descriptor
impl Hash for Descriptor
impl Hash for Descriptor
impl PartialEq<Descriptor> for Descriptor
impl PartialEq<Descriptor> for Descriptor
fn eq(&self, other: &Descriptor) -> bool
fn eq(&self, other: &Descriptor) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl Eq for Descriptor
impl StructuralEq for Descriptor
impl StructuralPartialEq for Descriptor
Auto Trait Implementations
impl RefUnwindSafe for Descriptor
impl Send for Descriptor
impl Sync for Descriptor
impl Unpin for Descriptor
impl UnwindSafe for Descriptor
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.