pub struct ColumnStorageInfo {Show 13 fields
pub name: String,
pub dd_type: u64,
pub column_type: String,
pub is_nullable: bool,
pub is_unsigned: bool,
pub fixed_len: usize,
pub is_variable: bool,
pub charset_max_bytes: usize,
pub datetime_precision: u64,
pub is_system_column: bool,
pub elements: Vec<String>,
pub numeric_precision: u64,
pub numeric_scale: u64,
}Expand description
Physical storage information for a single column.
Fields§
§name: StringColumn name.
dd_type: u64MySQL dd_type code.
column_type: StringSQL type string (e.g., “int”, “varchar(255)”).
is_nullable: boolWhether the column allows NULL.
is_unsigned: boolWhether the column is unsigned.
fixed_len: usizeFixed-length size in bytes (0 for variable-length).
is_variable: boolWhether this is a variable-length field.
charset_max_bytes: usizeMaximum bytes per character for string types.
datetime_precision: u64Fractional seconds precision for DATETIME/TIMESTAMP/TIME.
is_system_column: boolWhether this is a system column (DB_TRX_ID, DB_ROLL_PTR, DB_ROW_ID).
elements: Vec<String>ENUM/SET element names (from SDI metadata).
numeric_precision: u64Numeric precision for DECIMAL.
numeric_scale: u64Numeric scale for DECIMAL.
Trait Implementations§
Source§impl Clone for ColumnStorageInfo
impl Clone for ColumnStorageInfo
Source§fn clone(&self) -> ColumnStorageInfo
fn clone(&self) -> ColumnStorageInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ColumnStorageInfo
impl RefUnwindSafe for ColumnStorageInfo
impl Send for ColumnStorageInfo
impl Sync for ColumnStorageInfo
impl Unpin for ColumnStorageInfo
impl UnsafeUnpin for ColumnStorageInfo
impl UnwindSafe for ColumnStorageInfo
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more