Struct parquet_format_safe::BoundaryOrder
source · [−]pub struct BoundaryOrder(pub i32);
Expand description
Enum to annotate whether lists of min/max elements inside ColumnIndex are ordered and if so, in which direction.
Tuple Fields
0: i32
Implementations
sourceimpl BoundaryOrder
impl BoundaryOrder
pub const UNORDERED: BoundaryOrder = _
pub const ASCENDING: BoundaryOrder = _
pub const DESCENDING: BoundaryOrder = _
pub const ENUM_VALUES: &'static [Self] = _
pub fn write_to_out_protocol<T: TOutputProtocol>(
&self,
o_prot: &mut T
) -> Result<usize>
Trait Implementations
sourceimpl Clone for BoundaryOrder
impl Clone for BoundaryOrder
sourcefn clone(&self) -> BoundaryOrder
fn clone(&self) -> BoundaryOrder
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 BoundaryOrder
impl Debug for BoundaryOrder
sourceimpl From<&BoundaryOrder> for i32
impl From<&BoundaryOrder> for i32
sourcefn from(e: &BoundaryOrder) -> i32
fn from(e: &BoundaryOrder) -> i32
Converts to this type from the input type.
sourceimpl From<&i32> for BoundaryOrder
impl From<&i32> for BoundaryOrder
sourceimpl From<BoundaryOrder> for i32
impl From<BoundaryOrder> for i32
sourcefn from(e: BoundaryOrder) -> i32
fn from(e: BoundaryOrder) -> i32
Converts to this type from the input type.
sourceimpl From<i32> for BoundaryOrder
impl From<i32> for BoundaryOrder
sourceimpl Hash for BoundaryOrder
impl Hash for BoundaryOrder
sourceimpl Ord for BoundaryOrder
impl Ord for BoundaryOrder
sourcefn cmp(&self, other: &BoundaryOrder) -> Ordering
fn cmp(&self, other: &BoundaryOrder) -> Ordering
1.21.0 · sourcefn max(self, other: Self) -> Self
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Self
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Self where
Self: PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Self where
Self: PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<BoundaryOrder> for BoundaryOrder
impl PartialEq<BoundaryOrder> for BoundaryOrder
sourcefn eq(&self, other: &BoundaryOrder) -> bool
fn eq(&self, other: &BoundaryOrder) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &BoundaryOrder) -> bool
fn ne(&self, other: &BoundaryOrder) -> bool
This method tests for !=
.
sourceimpl PartialOrd<BoundaryOrder> for BoundaryOrder
impl PartialOrd<BoundaryOrder> for BoundaryOrder
sourcefn partial_cmp(&self, other: &BoundaryOrder) -> Option<Ordering>
fn partial_cmp(&self, other: &BoundaryOrder) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl ReadThrift for BoundaryOrder
impl ReadThrift for BoundaryOrder
fn read_from_in_protocol<T: TInputProtocol>(
i_prot: &mut T
) -> Result<BoundaryOrder>
impl Copy for BoundaryOrder
impl Eq for BoundaryOrder
impl StructuralEq for BoundaryOrder
impl StructuralPartialEq for BoundaryOrder
Auto Trait Implementations
impl RefUnwindSafe for BoundaryOrder
impl Send for BoundaryOrder
impl Sync for BoundaryOrder
impl Unpin for BoundaryOrder
impl UnwindSafe for BoundaryOrder
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