pub struct FieldCapability {
pub aggregatable: bool,
pub non_searchable_indices: Option<Indices>,
pub indices: Option<Indices>,
pub searchable: bool,
pub metadata_field: Option<bool>,
pub type: String,
pub meta: Option<Value>,
pub non_aggregatable_indices: Option<Indices>,
}Fields§
§aggregatable: boolWhether this field can be aggregated on all indexes.
non_searchable_indices: Option<Indices>A comma-separated list of data streams, indexes, and aliases used to limit the request.
Supports wildcards (*).
To target all data streams and indexes, omit this parameter or use * or _all.
indices: Option<Indices>A comma-separated list of data streams, indexes, and aliases used to limit the request.
Supports wildcards (*).
To target all data streams and indexes, omit this parameter or use * or _all.
searchable: boolWhether this field is indexed for search on all indexes.
metadata_field: Option<bool>Whether this field is registered as a metadata field.
type: String§meta: Option<Value>§non_aggregatable_indices: Option<Indices>A comma-separated list of data streams, indexes, and aliases used to limit the request.
Supports wildcards (*).
To target all data streams and indexes, omit this parameter or use * or _all.
Implementations§
Trait Implementations§
Source§impl Clone for FieldCapability
impl Clone for FieldCapability
Source§fn clone(&self) -> FieldCapability
fn clone(&self) -> FieldCapability
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 FieldCapability
impl Debug for FieldCapability
Source§impl Default for FieldCapability
impl Default for FieldCapability
Source§fn default() -> FieldCapability
fn default() -> FieldCapability
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FieldCapability
impl<'de> Deserialize<'de> for FieldCapability
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 FieldCapability
impl PartialEq for FieldCapability
Source§fn eq(&self, other: &FieldCapability) -> bool
fn eq(&self, other: &FieldCapability) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for FieldCapability
impl Serialize for FieldCapability
impl StructuralPartialEq for FieldCapability
Auto Trait Implementations§
impl Freeze for FieldCapability
impl RefUnwindSafe for FieldCapability
impl Send for FieldCapability
impl Sync for FieldCapability
impl Unpin for FieldCapability
impl UnsafeUnpin for FieldCapability
impl UnwindSafe for FieldCapability
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