pub struct FunctionCatalogSpec {
pub name_case: FunctionNameCase,
pub functions: Vec<FunctionCatalogEntry>,
}Expand description
Declarative, per-dialect input for the existing runtime catalog.
Fields§
§name_case: FunctionNameCase§functions: Vec<FunctionCatalogEntry>Implementations§
Source§impl FunctionCatalogSpec
impl FunctionCatalogSpec
Sourcepub fn build(
&self,
dialect: DialectType,
) -> Result<HashMapFunctionCatalog, String>
pub fn build( &self, dialect: DialectType, ) -> Result<HashMapFunctionCatalog, String>
Compile a specification for the call’s dialect. An explicit catalog replaces, rather than supplements, the embedded catalog.
Trait Implementations§
Source§impl Clone for FunctionCatalogSpec
impl Clone for FunctionCatalogSpec
Source§fn clone(&self) -> FunctionCatalogSpec
fn clone(&self) -> FunctionCatalogSpec
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 FunctionCatalogSpec
impl Debug for FunctionCatalogSpec
Source§impl<'de> Deserialize<'de> for FunctionCatalogSpec
impl<'de> Deserialize<'de> for FunctionCatalogSpec
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 FunctionCatalogSpec
impl RefUnwindSafe for FunctionCatalogSpec
impl Send for FunctionCatalogSpec
impl Sync for FunctionCatalogSpec
impl Unpin for FunctionCatalogSpec
impl UnsafeUnpin for FunctionCatalogSpec
impl UnwindSafe for FunctionCatalogSpec
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