pub struct IndexRefreshPlan { /* private fields */ }Expand description
Deduplicated index refresh plan.
Implementations§
Source§impl IndexRefreshPlan
impl IndexRefreshPlan
Sourcepub fn from_requested(kinds: Vec<IndexKind>) -> Self
pub fn from_requested(kinds: Vec<IndexKind>) -> Self
Builds a refresh plan. An empty request means all v1 index families.
Sourcepub fn into_kinds(self) -> Vec<IndexKind>
pub fn into_kinds(self) -> Vec<IndexKind>
Consumes the plan into index kinds in refresh order.
Trait Implementations§
Source§impl Clone for IndexRefreshPlan
impl Clone for IndexRefreshPlan
Source§fn clone(&self) -> IndexRefreshPlan
fn clone(&self) -> IndexRefreshPlan
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IndexRefreshPlan
impl Debug for IndexRefreshPlan
Source§impl PartialEq for IndexRefreshPlan
impl PartialEq for IndexRefreshPlan
Source§fn eq(&self, other: &IndexRefreshPlan) -> bool
fn eq(&self, other: &IndexRefreshPlan) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for IndexRefreshPlan
impl StructuralPartialEq for IndexRefreshPlan
Auto Trait Implementations§
impl Freeze for IndexRefreshPlan
impl RefUnwindSafe for IndexRefreshPlan
impl Send for IndexRefreshPlan
impl Sync for IndexRefreshPlan
impl Unpin for IndexRefreshPlan
impl UnsafeUnpin for IndexRefreshPlan
impl UnwindSafe for IndexRefreshPlan
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