[][src]Struct cdrs_tokio::query::QueryParamsBuilder

pub struct QueryParamsBuilder { /* fields omitted */ }

Implementations

impl QueryParamsBuilder[src]

pub fn new() -> QueryParamsBuilder[src]

Factory function that returns new QueryBuilder. Default consistency level is One

pub fn consistency(self, consistency: Consistency) -> Self[src]

Sets new query consistency

pub fn flags(self, flags: Vec<QueryFlags>) -> Self[src]

pub fn values(self, values: QueryValues) -> Self[src]

Sets new values. Sets new query consistency

pub fn with_names(self, with_names: bool) -> Self[src]

pub fn page_size(self, size: i32) -> Self[src]

Sets new values. Sets new query consistency

pub fn paging_state(self, state: CBytes) -> Self[src]

Sets new values. Sets new query consistency

pub fn serial_consistency(self, serial_consistency: Consistency) -> Self[src]

pub fn timestamp(self, timestamp: i64) -> Self[src]

pub fn finalize(self) -> QueryParams[src]

Finalizes query building process and returns query itself

Trait Implementations

impl Debug for QueryParamsBuilder[src]

impl Default for QueryParamsBuilder[src]

Auto Trait Implementations

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.