Struct aws_sdk_iot::types::GeoLocationTarget
source · #[non_exhaustive]pub struct GeoLocationTarget {
pub name: Option<String>,
pub order: Option<TargetFieldOrder>,
}
Expand description
A geolocation target that you select to index. Each geolocation target contains a name
and order
key-value pair that specifies the geolocation target fields.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.name: Option<String>
The name
of the geolocation target field. If the target field is part of a named shadow, you must select the named shadow using the namedShadow
filter.
order: Option<TargetFieldOrder>
The order
of the geolocation target field. This field is optional. The default value is LatLon
.
Implementations§
source§impl GeoLocationTarget
impl GeoLocationTarget
sourcepub fn name(&self) -> Option<&str>
pub fn name(&self) -> Option<&str>
The name
of the geolocation target field. If the target field is part of a named shadow, you must select the named shadow using the namedShadow
filter.
sourcepub fn order(&self) -> Option<&TargetFieldOrder>
pub fn order(&self) -> Option<&TargetFieldOrder>
The order
of the geolocation target field. This field is optional. The default value is LatLon
.
source§impl GeoLocationTarget
impl GeoLocationTarget
sourcepub fn builder() -> GeoLocationTargetBuilder
pub fn builder() -> GeoLocationTargetBuilder
Creates a new builder-style object to manufacture GeoLocationTarget
.
Trait Implementations§
source§impl Clone for GeoLocationTarget
impl Clone for GeoLocationTarget
source§fn clone(&self) -> GeoLocationTarget
fn clone(&self) -> GeoLocationTarget
Returns a copy 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 GeoLocationTarget
impl Debug for GeoLocationTarget
source§impl PartialEq for GeoLocationTarget
impl PartialEq for GeoLocationTarget
source§fn eq(&self, other: &GeoLocationTarget) -> bool
fn eq(&self, other: &GeoLocationTarget) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GeoLocationTarget
Auto Trait Implementations§
impl RefUnwindSafe for GeoLocationTarget
impl Send for GeoLocationTarget
impl Sync for GeoLocationTarget
impl Unpin for GeoLocationTarget
impl UnwindSafe for GeoLocationTarget
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
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>
Creates a shared type from an unshared type.