[][src]Struct icbiadb::decl::types::QueryBuilder

pub struct QueryBuilder<'a> { /* fields omitted */ }

Methods

impl<'a> QueryBuilder<'a>[src]

pub fn new(field_map: &'a FieldMap, records: &'a Vec<DeclarationRecord>) -> Self[src]

pub fn field_map(&self) -> &'a FieldMap[src]

pub fn records(&self) -> &'a Vec<DeclarationRecord>[src]

pub fn select(&mut self, fields: Vec<&'static str>) -> &mut Self[src]

pub fn filter<F>(&mut self, cb: F) -> &mut Self where
    F: 'static + Fn(&HashMap<&str, &BvObject>) -> bool
[src]

pub fn collect(&self) -> Vec<HashMap<&str, &BvObject>>[src]

Auto Trait Implementations

impl<'a> !RefUnwindSafe for QueryBuilder<'a>

impl<'a> !Send for QueryBuilder<'a>

impl<'a> !Sync for QueryBuilder<'a>

impl<'a> Unpin for QueryBuilder<'a>

impl<'a> !UnwindSafe for QueryBuilder<'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.