pub struct ObjectStoreBuilder { /* private fields */ }Available on crate features
experimental and IndexedDB and Runtime only.Implementations§
Source§impl ObjectStoreBuilder
impl ObjectStoreBuilder
Sourcepub fn auto_increment(&mut self, v: bool) -> &mut Self
pub fn auto_increment(&mut self, v: bool) -> &mut Self
If true, object store has auto increment flag set.
Sourcepub fn indexes(&mut self, v: Vec<ObjectStoreIndex>) -> &mut Self
pub fn indexes(&mut self, v: Vec<ObjectStoreIndex>) -> &mut Self
Indexes in this object store.
pub fn build(&mut self) -> Result<ObjectStore, &'static str>
Trait Implementations§
Source§impl Clone for ObjectStoreBuilder
impl Clone for ObjectStoreBuilder
Source§fn clone(&self) -> ObjectStoreBuilder
fn clone(&self) -> ObjectStoreBuilder
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 ObjectStoreBuilder
impl Debug for ObjectStoreBuilder
Auto Trait Implementations§
impl Freeze for ObjectStoreBuilder
impl RefUnwindSafe for ObjectStoreBuilder
impl Send for ObjectStoreBuilder
impl Sync for ObjectStoreBuilder
impl Unpin for ObjectStoreBuilder
impl UnwindSafe for ObjectStoreBuilder
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