Struct cdp::indexed_db::ObjectStoreIndex [] [src]

pub struct ObjectStoreIndex<'a> {
    pub name: Cow<'a, str>,
    pub key_path: KeyPath<'a>,
    pub unique: bool,
    pub multi_entry: bool,
}

[Experimental] Object store index.

Fields

Index name.

Index key path.

If true, index is unique.

If true, index allows multiple entries for a key.

Trait Implementations

impl<'a> Clone for ObjectStoreIndex<'a>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<'a> Debug for ObjectStoreIndex<'a>
[src]

[src]

Formats the value using the given formatter.

impl<'a> PartialEq for ObjectStoreIndex<'a>
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.