pub struct ObjectStoreIndexBuilder { /* private fields */ }Available on crate features
experimental and IndexedDB and Runtime only.Implementations§
Source§impl ObjectStoreIndexBuilder
impl ObjectStoreIndexBuilder
Sourcepub fn multi_entry(&mut self, v: bool) -> &mut Self
pub fn multi_entry(&mut self, v: bool) -> &mut Self
If true, index allows multiple entries for a key.
pub fn build(&mut self) -> Result<ObjectStoreIndex, &'static str>
Trait Implementations§
Source§impl Clone for ObjectStoreIndexBuilder
impl Clone for ObjectStoreIndexBuilder
Source§fn clone(&self) -> ObjectStoreIndexBuilder
fn clone(&self) -> ObjectStoreIndexBuilder
Returns a duplicate 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 moreSource§impl Debug for ObjectStoreIndexBuilder
impl Debug for ObjectStoreIndexBuilder
Auto Trait Implementations§
impl Freeze for ObjectStoreIndexBuilder
impl RefUnwindSafe for ObjectStoreIndexBuilder
impl Send for ObjectStoreIndexBuilder
impl Sync for ObjectStoreIndexBuilder
impl Unpin for ObjectStoreIndexBuilder
impl UnwindSafe for ObjectStoreIndexBuilder
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