pub struct IndexSpec {
pub store: &'static str,
pub fields: &'static [&'static str],
pub unique: bool,
}Expand description
IndexSpec
Runtime-only descriptor for an index used by the executor and stores.
Keeps core decoupled from the schema Index shape.
Fields§
§store: &'static str§fields: &'static [&'static str]§unique: boolImplementations§
Trait Implementations§
impl Copy for IndexSpec
impl Eq for IndexSpec
impl StructuralPartialEq for IndexSpec
Auto Trait Implementations§
impl Freeze for IndexSpec
impl RefUnwindSafe for IndexSpec
impl Send for IndexSpec
impl Sync for IndexSpec
impl Unpin for IndexSpec
impl UnwindSafe for IndexSpec
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