Enum parquet2::schema::Repetition
source · pub enum Repetition {
Required,
Optional,
Repeated,
}
Expand description
The repetition of a parquet field
Variants§
Required
When the field has no null values
Optional
When the field may have null values
Repeated
When the field may be repeated (list field)
Trait Implementations§
source§impl Clone for Repetition
impl Clone for Repetition
source§fn clone(&self) -> Repetition
fn clone(&self) -> Repetition
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 Repetition
impl Debug for Repetition
source§impl From<Repetition> for FieldRepetitionType
impl From<Repetition> for FieldRepetitionType
source§fn from(repetition: Repetition) -> Self
fn from(repetition: Repetition) -> Self
Converts to this type from the input type.
source§impl Hash for Repetition
impl Hash for Repetition
source§impl PartialEq for Repetition
impl PartialEq for Repetition
source§fn eq(&self, other: &Repetition) -> bool
fn eq(&self, other: &Repetition) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<FieldRepetitionType> for Repetition
impl TryFrom<FieldRepetitionType> for Repetition
impl Copy for Repetition
impl Eq for Repetition
impl StructuralPartialEq for Repetition
Auto Trait Implementations§
impl Freeze for Repetition
impl RefUnwindSafe for Repetition
impl Send for Repetition
impl Sync for Repetition
impl Unpin for Repetition
impl UnwindSafe for Repetition
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