Struct chromiumoxide::cdp::browser_protocol::indexed_db::ObjectStoreBuilder
source · pub struct ObjectStoreBuilder { /* private fields */ }Implementations§
source§impl ObjectStoreBuilder
impl ObjectStoreBuilder
pub fn name(self, name: impl Into<String>) -> ObjectStoreBuilder
pub fn key_path(self, key_path: impl Into<KeyPath>) -> ObjectStoreBuilder
pub fn auto_increment( self, auto_increment: impl Into<bool> ) -> ObjectStoreBuilder
pub fn indexe(self, indexe: impl Into<ObjectStoreIndex>) -> ObjectStoreBuilder
pub fn indexes<I, S>(self, indexes: I) -> ObjectStoreBuilderwhere I: IntoIterator<Item = S>, S: Into<ObjectStoreIndex>,
pub fn build(self) -> Result<ObjectStore, String>
Trait Implementations§
source§impl Clone for ObjectStoreBuilder
impl Clone for ObjectStoreBuilder
source§fn clone(&self) -> ObjectStoreBuilder
fn clone(&self) -> ObjectStoreBuilder
Returns a copy 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 Default for ObjectStoreBuilder
impl Default for ObjectStoreBuilder
source§fn default() -> ObjectStoreBuilder
fn default() -> ObjectStoreBuilder
Returns the “default value” for a type. Read more