pub struct ThingIndexingConfiguration {
pub custom_fields: Option<Vec<Field>>,
pub managed_fields: Option<Vec<Field>>,
pub thing_connectivity_indexing_mode: Option<String>,
pub thing_indexing_mode: String,
}Expand description
The thing indexing configuration. For more information, see Managing Thing Indexing.
Fields§
§custom_fields: Option<Vec<Field>>Contains custom field names and their data type.
managed_fields: Option<Vec<Field>>Contains fields that are indexed and whose types are already known by the Fleet Indexing service.
thing_connectivity_indexing_mode: Option<String>Thing connectivity indexing mode. Valid values are:
-
STATUS – Your thing index contains connectivity status. To enable thing connectivity indexing, thingIndexMode must not be set to OFF.
-
OFF - Thing connectivity status indexing is disabled.
thing_indexing_mode: StringThing indexing mode. Valid values are:
-
REGISTRY – Your thing index contains registry data only.
-
REGISTRYANDSHADOW - Your thing index contains registry and shadow data.
-
OFF - Thing indexing is disabled.
Trait Implementations§
Source§impl Clone for ThingIndexingConfiguration
impl Clone for ThingIndexingConfiguration
Source§fn clone(&self) -> ThingIndexingConfiguration
fn clone(&self) -> ThingIndexingConfiguration
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 ThingIndexingConfiguration
impl Debug for ThingIndexingConfiguration
Source§impl Default for ThingIndexingConfiguration
impl Default for ThingIndexingConfiguration
Source§fn default() -> ThingIndexingConfiguration
fn default() -> ThingIndexingConfiguration
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ThingIndexingConfiguration
impl<'de> Deserialize<'de> for ThingIndexingConfiguration
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
impl StructuralPartialEq for ThingIndexingConfiguration
Auto Trait Implementations§
impl Freeze for ThingIndexingConfiguration
impl RefUnwindSafe for ThingIndexingConfiguration
impl Send for ThingIndexingConfiguration
impl Sync for ThingIndexingConfiguration
impl Unpin for ThingIndexingConfiguration
impl UnwindSafe for ThingIndexingConfiguration
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