pub struct ComputeConfig {
pub data_dir: PathBuf,
pub max_rows: usize,
}Expand description
Compute/SQL engine settings.
Fields§
§data_dir: PathBufDirectory scanned for Parquet/CSV datasets.
max_rows: usizeMaximum rows returned by a single query (safety limit).
Trait Implementations§
Source§impl Clone for ComputeConfig
impl Clone for ComputeConfig
Source§fn clone(&self) -> ComputeConfig
fn clone(&self) -> ComputeConfig
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 ComputeConfig
impl Debug for ComputeConfig
Source§impl Default for ComputeConfig
impl Default for ComputeConfig
Source§impl<'de> Deserialize<'de> for ComputeConfig
impl<'de> Deserialize<'de> for ComputeConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ComputeConfig
impl RefUnwindSafe for ComputeConfig
impl Send for ComputeConfig
impl Sync for ComputeConfig
impl Unpin for ComputeConfig
impl UnsafeUnpin for ComputeConfig
impl UnwindSafe for ComputeConfig
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