pub struct IndexSchema {
pub name: &'static str,
pub fields: &'static [&'static str],
pub unique: bool,
pub present_only: bool,
/* private fields */
}Expand description
A compiled index over supported exact scalar components.
Fields§
§name: &'static strLogical identity within its entity, included in the stored contract.
fields: &'static [&'static str]Fields in declared index order.
unique: boolWhether the complete key must be unique in the final batch state.
present_only: boolUnique membership requires every optional component to be present.
Trait Implementations§
Source§impl Debug for IndexSchema
impl Debug for IndexSchema
impl Eq for IndexSchema
Source§impl PartialEq for IndexSchema
impl PartialEq for IndexSchema
impl StructuralPartialEq for IndexSchema
Auto Trait Implementations§
impl Forget for IndexSchema
impl Freeze for IndexSchema
impl Move for IndexSchema
impl RefUnwindSafe for IndexSchema
impl Send for IndexSchema
impl Sync for IndexSchema
impl Unpin for IndexSchema
impl UnsafeUnpin for IndexSchema
impl UnwindSafe for IndexSchema
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