Enum parquet2::schema::Repetition
source · [−]pub enum Repetition {
Required,
Optional,
Repeated,
}
Variants
Required
Optional
Repeated
Trait Implementations
sourceimpl Clone for Repetition
impl Clone for Repetition
sourcefn clone(&self) -> Repetition
fn clone(&self) -> Repetition
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
sourceimpl Debug for Repetition
impl Debug for Repetition
sourceimpl From<Repetition> for FieldRepetitionType
impl From<Repetition> for FieldRepetitionType
sourcefn from(repetition: Repetition) -> Self
fn from(repetition: Repetition) -> Self
Performs the conversion.
sourceimpl Hash for Repetition
impl Hash for Repetition
sourceimpl PartialEq<Repetition> for Repetition
impl PartialEq<Repetition> for Repetition
sourceimpl TryFrom<FieldRepetitionType> for Repetition
impl TryFrom<FieldRepetitionType> for Repetition
type Error = ParquetError
type Error = ParquetError
The type returned in the event of a conversion error.
sourcefn try_from(repetition: FieldRepetitionType) -> Result<Self, Self::Error>
fn try_from(repetition: FieldRepetitionType) -> Result<Self, Self::Error>
Performs the conversion.
impl Copy for Repetition
impl Eq for Repetition
impl StructuralEq for Repetition
impl StructuralPartialEq for Repetition
Auto Trait Implementations
impl RefUnwindSafe for Repetition
impl Send for Repetition
impl Sync for Repetition
impl Unpin for Repetition
impl UnwindSafe for Repetition
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<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more