[][src]Struct orientdb_client::common::protocol::messages::request::Query

pub struct Query {
    pub session_id: i32,
    pub token: Option<Vec<u8>>,
    pub query: String,
    pub parameters: HashMap<String, OValue>,
    pub named: bool,
    pub language: String,
    pub mode: i8,
    pub page_size: i32,
}

Fields

session_id: i32token: Option<Vec<u8>>query: Stringparameters: HashMap<String, OValue>named: boollanguage: Stringmode: i8page_size: i32

Methods

impl Query[src]

pub fn new<T>(
    session_id: i32,
    token: Option<Vec<u8>>,
    query: T,
    parameters: HashMap<String, OValue>,
    named: bool,
    language: T,
    mode: i8,
    page_size: i32
) -> Query where
    T: Into<String>, 
[src]

Trait Implementations

impl From<Query> for Request[src]

impl<'a> From<Statement<'a>> for Query[src]

impl Debug for Query[src]

Auto Trait Implementations

impl Send for Query

impl Sync for Query

impl Unpin for Query

impl UnwindSafe for Query

impl RefUnwindSafe for Query

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]