#[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: usizeThe previously-known index of the item
to: usizeThe newly-known index of the item
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 Freeze for LiveQueryMove
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