pub struct FunctionEntry {
pub name: &'static str,
pub function_type: &'static str,
pub alias_of: Option<&'static str>,
pub return_type: Option<&'static str>,
pub parameters: Vec<String>,
pub parameter_types: Vec<String>,
pub varargs: Option<&'static str>,
pub has_side_effects: Option<bool>,
pub stability: Option<&'static str>,
}Expand description
What one row of duckdb_functions() says, before it is turned into values.
Fields§
§name: &'static strThe name as it is written in a query.
function_type: &'static strscalar, aggregate or table, which are the three kinds rudb has.
alias_of: Option<&'static str>The name this one resolves to, and None for a name that is its own.
return_type: Option<&'static str>What the call produces, and None for a table function, whose columns are not one type.
parameters: Vec<String>One name per argument, in order.
parameter_types: Vec<String>One type per argument, in order, the same length as parameters.
varargs: Option<&'static str>The type of the trailing variadic argument, for the names that take one.
has_side_effects: Option<bool>Whether calling it twice can give two answers, and None for a table function, which is
where upstream leaves this column null.
stability: Option<&'static str>How much the engine may reuse a result, and None for a table function.
Trait Implementations§
Source§impl Clone for FunctionEntry
impl Clone for FunctionEntry
Source§fn clone(&self) -> FunctionEntry
fn clone(&self) -> FunctionEntry
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 FunctionEntry
impl Debug for FunctionEntry
impl Eq for FunctionEntry
Source§impl PartialEq for FunctionEntry
impl PartialEq for FunctionEntry
impl StructuralPartialEq for FunctionEntry
Auto Trait Implementations§
impl Freeze for FunctionEntry
impl RefUnwindSafe for FunctionEntry
impl Send for FunctionEntry
impl Sync for FunctionEntry
impl Unpin for FunctionEntry
impl UnsafeUnpin for FunctionEntry
impl UnwindSafe for FunctionEntry
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