stac_duckdb/
extension.rs

1/// A DuckDB extension
2// TODO implement aliases ... I don't know how vectors work yet 😢
3#[derive(Debug)]
4pub struct Extension {
5    /// The extension name.
6    pub name: String,
7
8    /// Is the extension loaded?
9    pub loaded: bool,
10
11    /// Is the extension installed?
12    pub installed: bool,
13
14    /// The path to the extension.
15    ///
16    /// This might be `(BUILT-IN)` for the core extensions.
17    pub install_path: Option<String>,
18
19    /// The extension description.
20    pub description: String,
21
22    /// The extension version.
23    pub version: Option<String>,
24
25    /// The install mode.
26    ///
27    /// We don't bother making this an enum, yet.
28    pub install_mode: Option<String>,
29
30    /// Where the extension was installed from.
31    pub installed_from: Option<String>,
32}