pub struct SetItem {
pub name: Expression,
pub value: Expression,
pub kind: Option<String>,
pub no_equals: bool,
}Expand description
A single SET item (variable assignment)
Fields§
§name: ExpressionThe variable name
value: ExpressionThe value to set
kind: Option<String>Kind: None for plain SET, Some(“GLOBAL”) for SET GLOBAL, etc.
no_equals: boolWhether the SET item was parsed without an = sign (TSQL: SET KEY VALUE)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SetItem
impl<'de> Deserialize<'de> for SetItem
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 SetItem
Auto Trait Implementations§
impl Freeze for SetItem
impl RefUnwindSafe for SetItem
impl Send for SetItem
impl Sync for SetItem
impl Unpin for SetItem
impl UnwindSafe for SetItem
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