pub struct PayloadIndexSpec {
pub field: String,
pub data_type: String,
pub params: Map<String, Value>,
pub is_tenant: Option<bool>,
}Expand description
A payload field index declared on the collection.
Fields§
§field: StringPayload field path the index is built on.
data_type: StringIndexed data type (e.g. keyword, integer, datetime).
params: Map<String, Value>Extra index parameters (e.g. full-text analyzer settings).
is_tenant: Option<bool>Whether this is a tenant index (is_tenant).
Trait Implementations§
Source§impl Clone for PayloadIndexSpec
impl Clone for PayloadIndexSpec
Source§impl Debug for PayloadIndexSpec
impl Debug for PayloadIndexSpec
Source§impl<'de> Deserialize<'de> for PayloadIndexSpec
impl<'de> Deserialize<'de> for PayloadIndexSpec
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 PayloadIndexSpec
impl PartialEq for PayloadIndexSpec
Source§impl Serialize for PayloadIndexSpec
impl Serialize for PayloadIndexSpec
impl StructuralPartialEq for PayloadIndexSpec
Auto Trait Implementations§
impl Freeze for PayloadIndexSpec
impl RefUnwindSafe for PayloadIndexSpec
impl Send for PayloadIndexSpec
impl Sync for PayloadIndexSpec
impl Unpin for PayloadIndexSpec
impl UnsafeUnpin for PayloadIndexSpec
impl UnwindSafe for PayloadIndexSpec
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