pub struct DdTable {
pub name: String,
pub schema_ref: String,
pub engine: String,
pub collation_id: u64,
pub row_format: u64,
pub comment: String,
pub columns: Vec<DdColumn>,
pub indexes: Vec<DdIndex>,
pub foreign_keys: Vec<DdForeignKey>,
pub mysql_version_id: u64,
pub se_private_data: Option<String>,
pub se_private_id: u64,
}Expand description
Data dictionary table definition.
Fields§
§name: StringTable name.
schema_ref: StringSchema (database) name.
engine: StringStorage engine name.
collation_id: u64Default collation ID.
row_format: u64Row format code (1=FIXED, 2=DYNAMIC, 3=COMPRESSED, etc.).
comment: StringTable comment.
columns: Vec<DdColumn>Column definitions.
indexes: Vec<DdIndex>Index definitions.
foreign_keys: Vec<DdForeignKey>Foreign key definitions.
mysql_version_id: u64MySQL server version ID.
se_private_data: Option<String>Storage engine private data (e.g., “instant_col=3;version_added=1;”).
se_private_id: u64InnoDB internal table ID (from se_private_id in the data dictionary).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DdTable
impl<'de> Deserialize<'de> for DdTable
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 DdTable
impl RefUnwindSafe for DdTable
impl Send for DdTable
impl Sync for DdTable
impl Unpin for DdTable
impl UnsafeUnpin for DdTable
impl UnwindSafe for DdTable
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> 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