pub struct TypeEntry {
pub name: &'static str,
pub logical_type: &'static str,
pub oid: Option<i64>,
pub varargs: Option<&'static str>,
pub signatures: &'static [Signature],
}Expand description
One type name in the catalog, and everything duckdb_types() says about it.
Fields§
§name: &'static strThe name, as the pin spells it, which is lower case for everything rudb has.
logical_type: &'static strThe canonical type this name means, as the pin writes it in the logical_type column.
oid: Option<i64>The LogicalTypeId of the type, on the one name that carries it and None on the rest.
varargs: Option<&'static str>The type the trailing variadic argument takes, for the names that have one.
signatures: &'static [Signature]One per row this name produces, in the order the pin returns them.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TypeEntry
impl RefUnwindSafe for TypeEntry
impl Send for TypeEntry
impl Sync for TypeEntry
impl Unpin for TypeEntry
impl UnsafeUnpin for TypeEntry
impl UnwindSafe for TypeEntry
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