pub trait FlussoDocument {
const PATH: &'static [Segment];
}Expand description
A view onto a flusso-maintained index — the root document or any of its
nested element projections. Every struct #[derive(FlussoDocument)]
generates carries a PATH: the chain of container levels from
the index root down to this view, which a nesting-aware sort reads to render
the right nested clause. The root’s PATH is empty.
The index-pointing operations (query/get, the index name + hash) live on
the FlussoIndex supertrait, emitted only for the root — so a child
projection cannot start a search.
Required Associated Constants§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".