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
name: Cow<'a, str>
Index name.
key_path: KeyPath<'a>
Index key path.
unique: bool
If true, index is unique.
multi_entry: bool
If true, index allows multiple entries for a key.
Trait Implementations
impl<'a> Clone for ObjectStoreIndex<'a>[src]
fn clone(&self) -> ObjectStoreIndex<'a>[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl<'a> Debug for ObjectStoreIndex<'a>[src]
impl<'a> PartialEq for ObjectStoreIndex<'a>[src]
fn eq(&self, __arg_0: &ObjectStoreIndex<'a>) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &ObjectStoreIndex<'a>) -> bool[src]
This method tests for !=.