pub trait PhantomDataExt {
    fn type_name(&self) -> &'static str;
    fn argument_sql(&self) -> Result<SqlMapping, ArgumentError>;
    fn return_sql(&self) -> Result<Returns, ReturnsError>;
    fn variadic(&self) -> bool;
    fn optional(&self) -> bool;
    fn entity(&self) -> FunctionMetadataTypeEntity;
}
Expand description

An extension trait for PhantomData offering SQL generation related info

Since we don’t actually want to construct values during SQL generation, we use a PhantomData.

Required Methods§

Implementations on Foreign Types§

Implementors§