pub struct EnvConfigBuilder { /* private fields */ }Expand description
Builder for EnvConfig. One method per field; symmetric with the env
vars in from_env.
Implementations§
Source§impl EnvConfigBuilder
impl EnvConfigBuilder
pub fn compute_query_id(self, v: ComputeQueryId) -> Self
pub fn explain_no_costs(self, v: bool) -> Self
pub fn stats_frozen(self, v: bool) -> Self
pub fn plan_deterministic(self, v: bool) -> Self
pub fn disable_topk(self, v: bool) -> Self
pub fn disable_joinfold(self, v: bool) -> Self
pub fn random_seed(self, v: u64) -> Self
pub fn build(self) -> EnvConfig
Trait Implementations§
Source§impl Clone for EnvConfigBuilder
impl Clone for EnvConfigBuilder
Source§fn clone(&self) -> EnvConfigBuilder
fn clone(&self) -> EnvConfigBuilder
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 EnvConfigBuilder
impl Debug for EnvConfigBuilder
Source§impl Default for EnvConfigBuilder
impl Default for EnvConfigBuilder
Source§fn default() -> EnvConfigBuilder
fn default() -> EnvConfigBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for EnvConfigBuilder
impl RefUnwindSafe for EnvConfigBuilder
impl Send for EnvConfigBuilder
impl Sync for EnvConfigBuilder
impl Unpin for EnvConfigBuilder
impl UnsafeUnpin for EnvConfigBuilder
impl UnwindSafe for EnvConfigBuilder
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