pub struct Show {Show 15 fields
pub this: String,
pub terse: bool,
pub history: bool,
pub like: Option<Expression>,
pub scope_kind: Option<String>,
pub scope: Option<Expression>,
pub starts_with: Option<Expression>,
pub limit: Option<Box<Limit>>,
pub from: Option<Expression>,
pub where_clause: Option<Expression>,
pub for_target: Option<Expression>,
pub db: Option<Expression>,
pub target: Option<Expression>,
pub mutex: Option<bool>,
pub privileges: Vec<String>,
}Expand description
SHOW statement - displays database objects
Fields§
§this: StringThe thing to show (DATABASES, TABLES, SCHEMAS, etc.)
terse: boolWhether TERSE was specified
history: boolWhether HISTORY was specified
like: Option<Expression>LIKE pattern
scope_kind: Option<String>IN scope kind (ACCOUNT, DATABASE, SCHEMA, TABLE)
scope: Option<Expression>IN scope object
starts_with: Option<Expression>STARTS WITH pattern
limit: Option<Box<Limit>>LIMIT clause
from: Option<Expression>FROM clause (for specific object)
where_clause: Option<Expression>WHERE clause (MySQL: SHOW STATUS WHERE …)
for_target: Option<Expression>FOR target (MySQL: SHOW GRANTS FOR user, SHOW PROFILE … FOR QUERY n)
db: Option<Expression>Second FROM clause (MySQL: SHOW COLUMNS FROM tbl FROM db)
target: Option<Expression>Target identifier (MySQL: engine name in SHOW ENGINE, table in SHOW COLUMNS FROM)
mutex: Option<bool>MUTEX flag for SHOW ENGINE (true=MUTEX, false=STATUS, None=neither)
privileges: Vec<String>WITH PRIVILEGES clause (Snowflake: SHOW … WITH PRIVILEGES USAGE, MODIFY)
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Show
impl<'de> Deserialize<'de> for Show
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
impl StructuralPartialEq for Show
Auto Trait Implementations§
impl Freeze for Show
impl RefUnwindSafe for Show
impl Send for Show
impl Sync for Show
impl Unpin for Show
impl UnwindSafe for Show
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