Struct dittolive_ditto::store::live_query::LiveQueryMove
source · #[non_exhaustive]pub struct LiveQueryMove {
pub from: usize,
pub to: usize,
}
Expand description
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
).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.from: usize
§to: usize
Trait Implementations§
source§impl Clone for LiveQueryMove
impl Clone for LiveQueryMove
source§fn clone(&self) -> LiveQueryMove
fn clone(&self) -> LiveQueryMove
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl RefUnwindSafe for LiveQueryMove
impl Send for LiveQueryMove
impl Sync for LiveQueryMove
impl Unpin for LiveQueryMove
impl UnwindSafe for LiveQueryMove
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more