#[non_exhaustive]pub struct ThingGroupIndexingConfiguration {
pub thing_group_indexing_mode: 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: 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.
You can't modify managed fields by updating fleet indexing configuration.
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) -> &ThingGroupIndexingMode
pub fn thing_group_indexing_mode(&self) -> &ThingGroupIndexingMode
Thing group indexing mode.
sourcepub fn managed_fields(&self) -> &[Field]
pub fn managed_fields(&self) -> &[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.
You can't modify managed fields by updating fleet indexing configuration.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .managed_fields.is_none()
.
sourcepub fn custom_fields(&self) -> &[Field]
pub fn custom_fields(&self) -> &[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.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .custom_fields.is_none()
.
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 ==
.impl StructuralPartialEq for ThingGroupIndexingConfiguration
Auto Trait Implementations§
impl Freeze for ThingGroupIndexingConfiguration
impl RefUnwindSafe for ThingGroupIndexingConfiguration
impl Send for ThingGroupIndexingConfiguration
impl Sync for ThingGroupIndexingConfiguration
impl Unpin for ThingGroupIndexingConfiguration
impl UnwindSafe for ThingGroupIndexingConfiguration
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more