pub struct SchemaInfo {
pub query_type: SchemaQueryType,
pub table_name: Option<String>,
pub tables: Vec<String>,
pub columns: Vec<ColumnInfo>,
}Expand description
Schema information returned by SHOW TABLES and DESCRIBE queries
Fields§
§query_type: SchemaQueryTypeQuery type (SHOW_TABLES or DESCRIBE)
table_name: Option<String>Table name (for DESCRIBE queries)
tables: Vec<String>List of tables (for SHOW TABLES)
columns: Vec<ColumnInfo>Column information (for DESCRIBE)
Trait Implementations§
Source§impl Clone for SchemaInfo
impl Clone for SchemaInfo
Source§fn clone(&self) -> SchemaInfo
fn clone(&self) -> SchemaInfo
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 SchemaInfo
impl Debug for SchemaInfo
Auto Trait Implementations§
impl Freeze for SchemaInfo
impl RefUnwindSafe for SchemaInfo
impl Send for SchemaInfo
impl Sync for SchemaInfo
impl Unpin for SchemaInfo
impl UnsafeUnpin for SchemaInfo
impl UnwindSafe for SchemaInfo
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