[][src]Struct toql_core::query_parser::QueryParser

pub struct QueryParser;

The query parser. It contains only a single static method to turn a string into a Query struct.

Methods

impl QueryParser[src]

pub fn parse(toql_string: &str) -> Result<Query, ToqlError>[src]

Method to parse a string This fails if the syntax is wrong. The original PEST error is wrapped with the ToqlError and can be used to examine to problem in detail.

Auto Trait Implementations

impl Send for QueryParser

impl Sync for QueryParser

Blanket Implementations

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

impl<T> From<T> for 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.

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

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

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