pub struct ObjectStoreParams { /* private fields */ }Expand description
Options when creating an ObjectStore.
Implementations§
Source§impl ObjectStoreParams
impl ObjectStoreParams
Sourcepub fn new() -> Self
pub fn new() -> Self
Creates an new instance of ObjectStoreParams.
Sourcepub fn auto_increment(&mut self, auto_increment: bool) -> &mut Self
pub fn auto_increment(&mut self, auto_increment: bool) -> &mut Self
Sets the auto_increment flag.
Trait Implementations§
Source§impl Clone for ObjectStoreParams
impl Clone for ObjectStoreParams
Source§fn clone(&self) -> ObjectStoreParams
fn clone(&self) -> ObjectStoreParams
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 ObjectStoreParams
impl Debug for ObjectStoreParams
Source§impl Default for ObjectStoreParams
impl Default for ObjectStoreParams
Source§fn default() -> ObjectStoreParams
fn default() -> ObjectStoreParams
Returns the “default value” for a type. Read more
Source§impl From<IdbObjectStoreParameters> for ObjectStoreParams
impl From<IdbObjectStoreParameters> for ObjectStoreParams
Source§fn from(inner: IdbObjectStoreParameters) -> Self
fn from(inner: IdbObjectStoreParameters) -> Self
Converts to this type from the input type.
Source§impl From<ObjectStoreParams> for IdbObjectStoreParameters
impl From<ObjectStoreParams> for IdbObjectStoreParameters
Source§fn from(params: ObjectStoreParams) -> Self
fn from(params: ObjectStoreParams) -> Self
Converts to this type from the input type.
Source§impl From<ObjectStoreParams> for JsValue
impl From<ObjectStoreParams> for JsValue
Source§fn from(value: ObjectStoreParams) -> Self
fn from(value: ObjectStoreParams) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ObjectStoreParams
impl PartialEq for ObjectStoreParams
Source§impl TryFrom<JsValue> for ObjectStoreParams
impl TryFrom<JsValue> for ObjectStoreParams
impl Eq for ObjectStoreParams
impl StructuralPartialEq for ObjectStoreParams
Auto Trait Implementations§
impl Freeze for ObjectStoreParams
impl RefUnwindSafe for ObjectStoreParams
impl !Send for ObjectStoreParams
impl !Sync for ObjectStoreParams
impl Unpin for ObjectStoreParams
impl UnwindSafe for ObjectStoreParams
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