Struct couch_rs::types::index::IndexFields
source · pub struct IndexFields {
pub fields: Vec<SortSpec>,
}
Expand description
Index fields abstraction
Fields§
§fields: Vec<SortSpec>
Implementations§
source§impl IndexFields
impl IndexFields
pub fn new(fields: Vec<SortSpec>) -> IndexFields
Trait Implementations§
source§impl Clone for IndexFields
impl Clone for IndexFields
source§fn clone(&self) -> IndexFields
fn clone(&self) -> IndexFields
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 Debug for IndexFields
impl Debug for IndexFields
source§impl<'de> Deserialize<'de> for IndexFields
impl<'de> Deserialize<'de> for IndexFields
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for IndexFields
impl PartialEq for IndexFields
source§fn eq(&self, other: &IndexFields) -> bool
fn eq(&self, other: &IndexFields) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for IndexFields
impl Serialize for IndexFields
impl Eq for IndexFields
impl StructuralPartialEq for IndexFields
Auto Trait Implementations§
impl Freeze for IndexFields
impl RefUnwindSafe for IndexFields
impl Send for IndexFields
impl Sync for IndexFields
impl Unpin for IndexFields
impl UnwindSafe for IndexFields
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more