Struct rincon_client::index::types::NewHashIndex
[−]
[src]
pub struct NewHashIndex { /* fields omitted */ }
Methods
impl NewHashIndex
[src]
pub fn new<F>(fields: F, unique: bool, sparse: bool, deduplicate: bool) -> Self where
F: IntoIterator<Item = String>,
[src]
F: IntoIterator<Item = String>,
pub fn fields_mut(&mut self) -> &mut Vec<String>
[src]
pub fn fields(&self) -> &[String]
[src]
pub fn set_sparse(&mut self, sparse: bool)
[src]
pub fn is_sparse(&self) -> bool
[src]
pub fn set_unique(&mut self, unique: bool)
[src]
pub fn is_unique(&self) -> bool
[src]
pub fn set_deduplicate(&mut self, deduplicate: bool)
[src]
pub fn is_deduplicate(&self) -> bool
[src]
Trait Implementations
impl Debug for NewHashIndex
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for NewHashIndex
[src]
fn clone(&self) -> NewHashIndex
[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 PartialEq for NewHashIndex
[src]
fn eq(&self, __arg_0: &NewHashIndex) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &NewHashIndex) -> bool
[src]
This method tests for !=
.
impl From<NewHashIndex> for NewIndex
[src]
fn from(index: NewHashIndex) -> Self
[src]
Performs the conversion.