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§
source§impl 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>
pub async fn write_to_out_stream_protocol<T: TOutputStreamProtocol>( &self, o_prot: &mut T ) -> Result<usize>
Trait Implementations§
source§impl AsyncReadThrift for BoundaryOrder
impl AsyncReadThrift for BoundaryOrder
fn stream_from_in_protocol<'life0, 'async_trait, T>(
i_prot: &'life0 mut T
) -> Pin<Box<dyn Future<Output = Result<BoundaryOrder>> + Send + 'async_trait>>where
T: 'async_trait + TInputStreamProtocol,
'life0: 'async_trait,
source§impl Clone for BoundaryOrder
impl Clone for BoundaryOrder
source§fn clone(&self) -> BoundaryOrder
fn clone(&self) -> BoundaryOrder
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 BoundaryOrder
impl Debug for BoundaryOrder
source§impl From<&BoundaryOrder> for i32
impl From<&BoundaryOrder> for i32
source§fn from(e: &BoundaryOrder) -> i32
fn from(e: &BoundaryOrder) -> i32
Converts to this type from the input type.
source§impl From<&i32> for BoundaryOrder
impl From<&i32> for BoundaryOrder
source§impl From<BoundaryOrder> for i32
impl From<BoundaryOrder> for i32
source§fn from(e: BoundaryOrder) -> i32
fn from(e: BoundaryOrder) -> i32
Converts to this type from the input type.
source§impl From<i32> for BoundaryOrder
impl From<i32> for BoundaryOrder
source§impl Hash for BoundaryOrder
impl Hash for BoundaryOrder
source§impl Ord for BoundaryOrder
impl Ord for BoundaryOrder
source§fn cmp(&self, other: &BoundaryOrder) -> Ordering
fn cmp(&self, other: &BoundaryOrder) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for BoundaryOrder
impl PartialEq for BoundaryOrder
source§fn 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 ==
.source§impl PartialOrd for BoundaryOrder
impl PartialOrd for BoundaryOrder
source§fn partial_cmp(&self, other: &BoundaryOrder) -> Option<Ordering>
fn partial_cmp(&self, other: &BoundaryOrder) -> Option<Ordering>
1.0.0 · source§fn 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 moresource§impl 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 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§
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