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
source§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,
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,
Available on crate feature
async
only.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<BoundaryOrder> for BoundaryOrder
impl PartialEq<BoundaryOrder> 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<BoundaryOrder> for BoundaryOrder
impl PartialOrd<BoundaryOrder> 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 more