#[non_exhaustive]pub struct MysqlTable {
pub table: String,
pub mysql_columns: Vec<MysqlColumn>,
/* private fields */
}
Expand description
MySQL table.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.table: String
Table name.
mysql_columns: Vec<MysqlColumn>
MySQL columns in the database. When unspecified as part of include/exclude objects, includes/excludes everything.
Implementations§
Source§impl MysqlTable
impl MysqlTable
pub fn new() -> Self
Sourcepub fn set_mysql_columns<T, V>(self, v: T) -> Self
pub fn set_mysql_columns<T, V>(self, v: T) -> Self
Sets the value of mysql_columns.
Trait Implementations§
Source§impl Clone for MysqlTable
impl Clone for MysqlTable
Source§fn clone(&self) -> MysqlTable
fn clone(&self) -> MysqlTable
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 moreSource§impl Debug for MysqlTable
impl Debug for MysqlTable
Source§impl Default for MysqlTable
impl Default for MysqlTable
Source§fn default() -> MysqlTable
fn default() -> MysqlTable
Returns the “default value” for a type. Read more
Source§impl PartialEq for MysqlTable
impl PartialEq for MysqlTable
impl StructuralPartialEq for MysqlTable
Auto Trait Implementations§
impl Freeze for MysqlTable
impl RefUnwindSafe for MysqlTable
impl Send for MysqlTable
impl Sync for MysqlTable
impl Unpin for MysqlTable
impl UnwindSafe for MysqlTable
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