Struct chrome_remote_interface_model::indexed_db::ObjectStoreIndexBuilder[][src]

pub struct ObjectStoreIndexBuilder { /* fields omitted */ }
This is supported on crate features experimental and IndexedDB and Runtime only.

Implementations

impl ObjectStoreIndexBuilder[src]

pub fn name(&mut self, v: String) -> &mut Self[src]

Index name.

pub fn key_path(&mut self, v: KeyPath) -> &mut Self[src]

Index key path.

pub fn unique(&mut self, v: bool) -> &mut Self[src]

If true, index is unique.

pub fn multi_entry(&mut self, v: bool) -> &mut Self[src]

If true, index allows multiple entries for a key.

pub fn build(&mut self) -> Result<ObjectStoreIndex, &'static str>[src]

Trait Implementations

impl Clone for ObjectStoreIndexBuilder[src]

impl Debug for ObjectStoreIndexBuilder[src]

impl Default for ObjectStoreIndexBuilder[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.