Skip to main content

Crate key_paths_iter

Crate key_paths_iter 

Source
Expand description

Query builder for collection keypaths over rust_key_paths::KpType when the value type is Vec<Item>.

Enable the rayon feature for parallel collection operations ([query_par]).

Structs§

CollectionQuery
Query builder for collection keypaths (KpType where value is Vec<Item>).
CollectionQueryStatic
Query builder for collection keypaths with 'static lifetime (e.g. from #[derive(Kp)]). Pass the root when calling execute, count, exists, or first.

Traits§

QueryableCollection
Implemented for keypath types that target Vec<Item>, enabling .query(). The keypath and the reference passed to query() share the same lifetime.
QueryableCollectionStatic
Implemented for KpType<'static, Root, Vec<Item>> (e.g. from #[derive(Kp)]), enabling .query().