pub enum IndexProjection {
All,
KeysOnly,
Include(Vec<String>),
}Expand description
Index projection type - which attributes to include in index
Variants§
All
Project all attributes (default)
KeysOnly
Project only key attributes
Include(Vec<String>)
Project specific attributes
Trait Implementations§
Source§impl Clone for IndexProjection
impl Clone for IndexProjection
Source§fn clone(&self) -> IndexProjection
fn clone(&self) -> IndexProjection
Returns a duplicate 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 IndexProjection
impl Debug for IndexProjection
Source§impl Default for IndexProjection
impl Default for IndexProjection
Source§impl<'de> Deserialize<'de> for IndexProjection
impl<'de> Deserialize<'de> for IndexProjection
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 IndexProjection
impl PartialEq for IndexProjection
Source§impl Serialize for IndexProjection
impl Serialize for IndexProjection
impl Eq for IndexProjection
impl StructuralPartialEq for IndexProjection
Auto Trait Implementations§
impl Freeze for IndexProjection
impl RefUnwindSafe for IndexProjection
impl Send for IndexProjection
impl Sync for IndexProjection
impl Unpin for IndexProjection
impl UnwindSafe for IndexProjection
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