Struct polars_io::parquet::write::StatisticsOptions
pub struct StatisticsOptions {
pub min_value: bool,
pub max_value: bool,
pub distinct_count: bool,
pub null_count: bool,
}
Available on crate feature
parquet
only.Expand description
The statistics to write
Fields§
§min_value: bool
§max_value: bool
§distinct_count: bool
§null_count: bool
Implementations§
§impl StatisticsOptions
impl StatisticsOptions
pub fn empty() -> StatisticsOptions
pub fn full() -> StatisticsOptions
pub fn is_empty(&self) -> bool
pub fn is_full(&self) -> bool
Trait Implementations§
§impl Clone for StatisticsOptions
impl Clone for StatisticsOptions
§fn clone(&self) -> StatisticsOptions
fn clone(&self) -> StatisticsOptions
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 more§impl Debug for StatisticsOptions
impl Debug for StatisticsOptions
§impl Default for StatisticsOptions
impl Default for StatisticsOptions
§fn default() -> StatisticsOptions
fn default() -> StatisticsOptions
Returns the “default value” for a type. Read more
§impl<'de> Deserialize<'de> for StatisticsOptions
impl<'de> Deserialize<'de> for StatisticsOptions
§fn deserialize<__D>(
__deserializer: __D
) -> Result<StatisticsOptions, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<StatisticsOptions, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl Hash for StatisticsOptions
impl Hash for StatisticsOptions
§impl PartialEq for StatisticsOptions
impl PartialEq for StatisticsOptions
§fn eq(&self, other: &StatisticsOptions) -> bool
fn eq(&self, other: &StatisticsOptions) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl Serialize for StatisticsOptions
impl Serialize for StatisticsOptions
§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for StatisticsOptions
impl Eq for StatisticsOptions
impl StructuralPartialEq for StatisticsOptions
Auto Trait Implementations§
impl Freeze for StatisticsOptions
impl RefUnwindSafe for StatisticsOptions
impl Send for StatisticsOptions
impl Sync for StatisticsOptions
impl Unpin for StatisticsOptions
impl UnwindSafe for StatisticsOptions
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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