Skip to main content

QueryableCollection

Trait QueryableCollection 

Source
pub trait QueryableCollection<'a, Root, Item> {
    // Required method
    fn query(&'a self) -> CollectionQuery<'a, Root, Item>;
}
Expand description

Implemented for keypath types that target Vec<Item>, enabling .query(). The keypath and the reference passed to query() share the same lifetime.

Required Methods§

Source

fn query(&'a self) -> CollectionQuery<'a, Root, Item>

Implementations on Foreign Types§

Source§

impl<'a, Root, Item> QueryableCollection<'a, Root, Item> for KpType<'a, Root, Vec<Item>>

Source§

fn query(&'a self) -> CollectionQuery<'a, Root, Item>

Implementors§