pub struct SqlStatement {
pub annotation: Option<SqlStatementAnnotation>,
pub statement: String,
}
Expand description
A single, optionally annotated, SQL statement
Fields§
§annotation: Option<SqlStatementAnnotation>
The optional annotation of of the statement
statement: String
The actual SQL statement
Trait Implementations§
Source§impl Clone for SqlStatement
impl Clone for SqlStatement
Source§fn clone(&self) -> SqlStatement
fn clone(&self) -> SqlStatement
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SqlStatement
impl Debug for SqlStatement
Source§impl<'de> Deserialize<'de> for SqlStatement
impl<'de> Deserialize<'de> for SqlStatement
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
Auto Trait Implementations§
impl Freeze for SqlStatement
impl RefUnwindSafe for SqlStatement
impl Send for SqlStatement
impl Sync for SqlStatement
impl Unpin for SqlStatement
impl UnwindSafe for SqlStatement
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