pub struct ColumnAdvice {
pub name: String,
pub data_type: String,
pub bytes: i64,
pub share: f64,
pub distinct: Option<u64>,
pub value_bytes: Option<i64>,
pub structure_bytes: Option<i64>,
}Expand description
One column, with what the advice needs to know about it.
Fields§
§name: String§data_type: String§bytes: i64The share of the file this column takes.
distinct: Option<u64>The distinct values, when the file was read to count them.
value_bytes: Option<i64>The bytes its values take, when the contrast was run.
structure_bytes: Option<i64>The bytes its shape takes, when the contrast was run.
Trait Implementations§
Source§impl Clone for ColumnAdvice
impl Clone for ColumnAdvice
Auto Trait Implementations§
impl Forget for ColumnAdvice
impl Freeze for ColumnAdvice
impl Move for ColumnAdvice
impl RefUnwindSafe for ColumnAdvice
impl Send for ColumnAdvicewhere
RawVecInner: Send,
impl Sync for ColumnAdvicewhere
RawVecInner: Sync,
impl Unpin for ColumnAdvice
impl UnsafeUnpin for ColumnAdvice
impl UnwindSafe for ColumnAdvicewhere
RawVecInner: UnwindSafe,
Blanket Implementations§
impl<T> Allocation for T
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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