pub struct BinaryStatistics {
pub primitive_type: PrimitiveType,
pub null_count: Option<i64>,
pub distinct_count: Option<i64>,
pub max_value: Option<Vec<u8>>,
pub min_value: Option<Vec<u8>>,
}
Fields§
§primitive_type: PrimitiveType
§null_count: Option<i64>
§distinct_count: Option<i64>
§max_value: Option<Vec<u8>>
§min_value: Option<Vec<u8>>
Implementations§
Source§impl BinaryStatistics
impl BinaryStatistics
pub fn deserialize( v: &ParquetStatistics, primitive_type: PrimitiveType, ) -> ParquetResult<Self>
pub fn serialize(&self) -> ParquetStatistics
Trait Implementations§
Source§impl Clone for BinaryStatistics
impl Clone for BinaryStatistics
Source§fn clone(&self) -> BinaryStatistics
fn clone(&self) -> BinaryStatistics
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 BinaryStatistics
impl Debug for BinaryStatistics
Source§impl From<BinaryStatistics> for Statistics
impl From<BinaryStatistics> for Statistics
Source§fn from(stats: BinaryStatistics) -> Self
fn from(stats: BinaryStatistics) -> Self
Converts to this type from the input type.
Source§impl PartialEq for BinaryStatistics
impl PartialEq for BinaryStatistics
impl StructuralPartialEq for BinaryStatistics
Auto Trait Implementations§
impl Freeze for BinaryStatistics
impl RefUnwindSafe for BinaryStatistics
impl Send for BinaryStatistics
impl Sync for BinaryStatistics
impl Unpin for BinaryStatistics
impl UnwindSafe for BinaryStatistics
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more