pub enum IndexHint {
Name(String),
Keys(Array),
}Expand description
The index a query must use: a name, or a key pattern ({"name": 1}).
PHP: the string|array of MongoDB::hint().
Variants§
Trait Implementations§
impl StructuralPartialEq for IndexHint
Auto Trait Implementations§
impl Forget for IndexHint
impl Freeze for IndexHint
impl Move for IndexHint
impl RefUnwindSafe for IndexHint
impl Send for IndexHint
impl Sync for IndexHint
impl Unpin for IndexHint
impl UnsafeUnpin for IndexHint
impl UnwindSafe for IndexHint
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