#[non_exhaustive]pub struct ThingGroupIndexingConfiguration {
pub thing_group_indexing_mode: Option<ThingGroupIndexingMode>,
pub managed_fields: Option<Vec<Field>>,
pub custom_fields: Option<Vec<Field>>,
}
Expand description
Thing group indexing configuration.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.thing_group_indexing_mode: Option<ThingGroupIndexingMode>
Thing group indexing mode.
managed_fields: Option<Vec<Field>>
Contains fields that are indexed and whose types are already known by the Fleet Indexing service. This is an optional field. For more information, see Managed fields in the Amazon Web Services IoT Core Developer Guide.
custom_fields: Option<Vec<Field>>
A list of thing group fields to index. This list cannot contain any managed fields. Use the GetIndexingConfiguration API to get a list of managed fields.
Contains custom field names and their data type.
Implementations§
source§impl ThingGroupIndexingConfiguration
impl ThingGroupIndexingConfiguration
sourcepub fn thing_group_indexing_mode(&self) -> Option<&ThingGroupIndexingMode>
pub fn thing_group_indexing_mode(&self) -> Option<&ThingGroupIndexingMode>
Thing group indexing mode.
sourcepub fn managed_fields(&self) -> Option<&[Field]>
pub fn managed_fields(&self) -> Option<&[Field]>
Contains fields that are indexed and whose types are already known by the Fleet Indexing service. This is an optional field. For more information, see Managed fields in the Amazon Web Services IoT Core Developer Guide.
sourcepub fn custom_fields(&self) -> Option<&[Field]>
pub fn custom_fields(&self) -> Option<&[Field]>
A list of thing group fields to index. This list cannot contain any managed fields. Use the GetIndexingConfiguration API to get a list of managed fields.
Contains custom field names and their data type.
source§impl ThingGroupIndexingConfiguration
impl ThingGroupIndexingConfiguration
sourcepub fn builder() -> ThingGroupIndexingConfigurationBuilder
pub fn builder() -> ThingGroupIndexingConfigurationBuilder
Creates a new builder-style object to manufacture ThingGroupIndexingConfiguration
.
Trait Implementations§
source§impl Clone for ThingGroupIndexingConfiguration
impl Clone for ThingGroupIndexingConfiguration
source§fn clone(&self) -> ThingGroupIndexingConfiguration
fn clone(&self) -> ThingGroupIndexingConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for ThingGroupIndexingConfiguration
impl PartialEq for ThingGroupIndexingConfiguration
source§fn eq(&self, other: &ThingGroupIndexingConfiguration) -> bool
fn eq(&self, other: &ThingGroupIndexingConfiguration) -> bool
self
and other
values to be equal, and is used
by ==
.