pub struct FunctionRow {
pub name: &'static str,
pub kind: FunctionKind,
pub alias_of: Option<&'static str>,
pub types: Vec<&'static str>,
pub returns: &'static str,
pub varargs: Option<&'static str>,
}Expand description
One overload of one function, as duckdb_functions() reports it.
An overload here is a name and an argument count, because that is what an entry in this crate’s
table has one of each. Upstream has an overload per pair of argument types instead and so reports
44 rows for +, and types is where the difference shows up. See function_rows.
Fields§
§name: &'static strThe name as it was written, which is the alias for an alias.
kind: FunctionKindScalar or aggregate.
alias_of: Option<&'static str>The name this one resolves to, and None for a name that is its own.
types: Vec<&'static str>One per argument, in order.
returns: &'static strWhat the call produces.
varargs: Option<&'static str>The type of the trailing variadic argument, for the names that take one.
Trait Implementations§
Source§impl Clone for FunctionRow
impl Clone for FunctionRow
Source§fn clone(&self) -> FunctionRow
fn clone(&self) -> FunctionRow
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 FunctionRow
impl Debug for FunctionRow
impl Eq for FunctionRow
Source§impl PartialEq for FunctionRow
impl PartialEq for FunctionRow
impl StructuralPartialEq for FunctionRow
Auto Trait Implementations§
impl Freeze for FunctionRow
impl RefUnwindSafe for FunctionRow
impl Send for FunctionRow
impl Sync for FunctionRow
impl Unpin for FunctionRow
impl UnsafeUnpin for FunctionRow
impl UnwindSafe for FunctionRow
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