dittolive_ditto/store/query_builder/live_query/move.rs
1/// Describes the index in a list of documents that a document was previously found at (`from`) and
2/// the index that it can now be found at (`to`).
3#[non_exhaustive]
4#[derive(Debug, Clone)]
5pub struct LiveQueryMove {
6 /// The previously-known index of the item
7 pub from: usize,
8
9 /// The newly-known index of the item
10 pub to: usize,
11}