pub struct SqlScript<'a> {
pub start: usize,
pub end: usize,
pub statement: &'a [u8],
}
Expand description
SQL script single statement.
Fields§
§start: usize
Start index in source.
end: usize
End index in source. Either index of ;
or EOF.
statement: &'a [u8]
SQL Statement. Includes SQL statement and all trailing whitespaces and comments.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for SqlScript<'a>
impl<'a> RefUnwindSafe for SqlScript<'a>
impl<'a> Send for SqlScript<'a>
impl<'a> Sync for SqlScript<'a>
impl<'a> Unpin for SqlScript<'a>
impl<'a> UnwindSafe for SqlScript<'a>
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