pub struct TransformConfig {
pub bin_depth: BinDepth,
pub activation: ActivationConfig,
pub verbose: bool,
pub limits: TransformLimits,
}Expand description
Full configuration for crate::pipeline::transform_record_batches.
Fields§
§bin_depth: BinDepth§activation: ActivationConfig§verbose: boolWhen true, show progress on stderr (in-place bar on a TTY, line logs when piped).
limits: TransformLimitsImplementations§
Source§impl TransformConfig
impl TransformConfig
pub fn new(bin_depth: BinDepth) -> Self
pub fn with_activation(self, activation: ActivationConfig) -> Self
pub fn with_verbose(self, verbose: bool) -> Self
pub fn with_limits(self, limits: TransformLimits) -> Self
Trait Implementations§
Source§impl Clone for TransformConfig
impl Clone for TransformConfig
Source§fn clone(&self) -> TransformConfig
fn clone(&self) -> TransformConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TransformConfig
impl Debug for TransformConfig
Source§impl PartialEq for TransformConfig
impl PartialEq for TransformConfig
Source§fn eq(&self, other: &TransformConfig) -> bool
fn eq(&self, other: &TransformConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for TransformConfig
impl StructuralPartialEq for TransformConfig
Auto Trait Implementations§
impl Freeze for TransformConfig
impl RefUnwindSafe for TransformConfig
impl Send for TransformConfig
impl Sync for TransformConfig
impl Unpin for TransformConfig
impl UnsafeUnpin for TransformConfig
impl UnwindSafe for TransformConfig
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.