pub struct ExplorerConfig {
pub enabled: bool,
pub path: String,
}Expand description
Embedded dataset explorer UI ([explorer] block).
A server-rendered web app (Actix + Askama templates + htmx +
Bootstrap) served at ExplorerConfig::path (default /explore).
It offers a discovery view — per-dataset stats, schema, index and
source configuration — and an in-browser DuckDB console (DuckDB-WASM)
that queries each dataset’s Parquet export directly.
Enabled by default. When the binary was built without the explorer
cargo feature, enabled = true is harmless: the server logs a warning
at startup and skips the mount. Set enabled = false to suppress it at
runtime even when the feature is compiled in.
Fields§
§enabled: bool§path: StringTrait Implementations§
Source§impl Clone for ExplorerConfig
impl Clone for ExplorerConfig
Source§fn clone(&self) -> ExplorerConfig
fn clone(&self) -> ExplorerConfig
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 ExplorerConfig
impl Debug for ExplorerConfig
Source§impl Default for ExplorerConfig
impl Default for ExplorerConfig
Source§impl<'de> Deserialize<'de> for ExplorerConfigwhere
ExplorerConfig: Default,
impl<'de> Deserialize<'de> for ExplorerConfigwhere
ExplorerConfig: Default,
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 ExplorerConfig
impl RefUnwindSafe for ExplorerConfig
impl Send for ExplorerConfig
impl Sync for ExplorerConfig
impl Unpin for ExplorerConfig
impl UnsafeUnpin for ExplorerConfig
impl UnwindSafe for ExplorerConfig
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