Struct sql_parser::ast::SetVariableStatement [−][src]
pub struct SetVariableStatement {
pub local: bool,
pub variable: Ident,
pub value: SetVariableValue,
}
Expand description
SET <variable>
Note: this is not a standard SQL statement, but it is supported by at least MySQL and PostgreSQL. Not all MySQL-specific syntatic forms are supported yet.
Fields
local: bool
variable: Ident
value: SetVariableValue
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for SetVariableStatement
impl Send for SetVariableStatement
impl Sync for SetVariableStatement
impl Unpin for SetVariableStatement
impl UnwindSafe for SetVariableStatement
Blanket Implementations
Mutably borrows from an owned value. Read more
Formats an object with the “alternative” format ({:#}
) and returns it.
Compare self to key
and return true
if they are equal.
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more