pub struct Extension {
pub name: String,
pub loaded: bool,
pub installed: bool,
pub install_path: Option<String>,
pub description: String,
pub version: Option<String>,
pub install_mode: Option<String>,
pub installed_from: Option<String>,
}
Expand description
A DuckDB extension
Fields§
§name: String
The extension name.
loaded: bool
Is the extension loaded?
installed: bool
Is the extension installed?
install_path: Option<String>
The path to the extension.
This might be (BUILT-IN)
for the core extensions.
description: String
The extension description.
version: Option<String>
The extension version.
install_mode: Option<String>
The install mode.
We don’t bother making this an enum, yet.
installed_from: Option<String>
Where the extension was installed from.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Extension
impl RefUnwindSafe for Extension
impl Send for Extension
impl Sync for Extension
impl Unpin for Extension
impl UnwindSafe for Extension
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more