dittolive-ditto 4.11.4

Ditto is a peer to peer cross-platform database that allows mobile, web, IoT and server apps to sync with or without an internet connection.
1
2
3
4
5
6
7
8
9
10
11
/// Describes the index in a list of documents that a document was previously found at (`from`) and
/// the index that it can now be found at (`to`).
#[non_exhaustive]
#[derive(Debug, Clone)]
pub struct LiveQueryMove {
    /// The previously-known index of the item
    pub from: usize,

    /// The newly-known index of the item
    pub to: usize,
}