pub struct PragmaStatement {
pub name: String,
pub value: Option<PragmaValue>,
}Expand description
One parsed PRAGMA statement. value is None for the read form
(PRAGMA name;).
Fields§
§name: String§value: Option<PragmaValue>Trait Implementations§
Source§impl Clone for PragmaStatement
impl Clone for PragmaStatement
Source§fn clone(&self) -> PragmaStatement
fn clone(&self) -> PragmaStatement
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PragmaStatement
impl Debug for PragmaStatement
Source§impl PartialEq for PragmaStatement
impl PartialEq for PragmaStatement
Source§fn eq(&self, other: &PragmaStatement) -> bool
fn eq(&self, other: &PragmaStatement) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PragmaStatement
Auto Trait Implementations§
impl Freeze for PragmaStatement
impl RefUnwindSafe for PragmaStatement
impl Send for PragmaStatement
impl Sync for PragmaStatement
impl Unpin for PragmaStatement
impl UnsafeUnpin for PragmaStatement
impl UnwindSafe for PragmaStatement
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