Struct sql_script_parser::SqlScript[][src]

pub struct SqlScript<'a> {
    pub start: usize,
    pub end: usize,
    pub statement: &'a [u8],
}

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

impl<'a> SqlScriptTokenizer<'a, SqlScript<'a>> for DefaultSqlScriptTokenizer[src]

Auto Trait Implementations

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.