pub struct Pragma {
pub schema: Option<Identifier>,
pub name: Identifier,
pub value: Option<Expression>,
pub args: Vec<Expression>,
}Expand description
PRAGMA statement (SQLite)
Fields§
§schema: Option<Identifier>Optional schema prefix (e.g., “schema” in “schema.pragma_name”)
name: IdentifierThe pragma name
value: Option<Expression>Optional value for assignment (PRAGMA name = value)
args: Vec<Expression>Optional arguments for function-style pragmas (PRAGMA name(arg))
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Pragma
impl<'de> Deserialize<'de> for Pragma
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 Pragma
Auto Trait Implementations§
impl Freeze for Pragma
impl RefUnwindSafe for Pragma
impl Send for Pragma
impl Sync for Pragma
impl Unpin for Pragma
impl UnwindSafe for Pragma
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