pub struct DatabaseWithObjectStoresBuilder { /* private fields */ }Expand description
Builder for DatabaseWithObjectStores.
Implementations§
Source§impl DatabaseWithObjectStoresBuilder
impl DatabaseWithObjectStoresBuilder
Sourcepub fn version<VALUE: Into<JsFloat>>(&mut self, value: VALUE) -> &mut Self
pub fn version<VALUE: Into<JsFloat>>(&mut self, value: VALUE) -> &mut Self
Database version (type is not ‘integer’, as the standard requires the version number to be ‘unsigned long long’)
Sourcepub fn object_stores<VALUE: Into<Vec<ObjectStore>>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn object_stores<VALUE: Into<Vec<ObjectStore>>>( &mut self, value: VALUE, ) -> &mut Self
Object stores in this database.
Sourcepub fn build(
&self,
) -> Result<DatabaseWithObjectStores, DatabaseWithObjectStoresBuilderError>
pub fn build( &self, ) -> Result<DatabaseWithObjectStores, DatabaseWithObjectStoresBuilderError>
Trait Implementations§
Source§impl Clone for DatabaseWithObjectStoresBuilder
impl Clone for DatabaseWithObjectStoresBuilder
Source§fn clone(&self) -> DatabaseWithObjectStoresBuilder
fn clone(&self) -> DatabaseWithObjectStoresBuilder
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 moreAuto Trait Implementations§
impl Freeze for DatabaseWithObjectStoresBuilder
impl RefUnwindSafe for DatabaseWithObjectStoresBuilder
impl Send for DatabaseWithObjectStoresBuilder
impl Sync for DatabaseWithObjectStoresBuilder
impl Unpin for DatabaseWithObjectStoresBuilder
impl UnsafeUnpin for DatabaseWithObjectStoresBuilder
impl UnwindSafe for DatabaseWithObjectStoresBuilder
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