Skip to main content

Module dd

Module dd 

Source
Expand description

Safe Rust view of the MySQL data-dictionary dd::Table tree.

Engine implementations receive Option<&sys::DdTable> in open / create and walk it through the accessor methods on sys::DdTable, sys::DdColumn, sys::DdIndex, and sys::DdIndexElement defined here. The opaque pointers are valid only for the originating callback; copy out anything that needs to outlive it.

Enumsยง

ColumnType
MySQL data-dictionary column type. Mirrors dd::enum_column_types.
IndexElementOrder
Sort order of an index element. Mirrors dd::Index_element::enum_index_element_order.
IndexType
MySQL index type. Mirrors dd::Index::enum_index_type.