Struct aws_sdk_iotwireless::operation::update_resource_position::UpdateResourcePositionInput
source · #[non_exhaustive]pub struct UpdateResourcePositionInput {
pub resource_identifier: Option<String>,
pub resource_type: Option<PositionResourceType>,
pub geo_json_payload: Option<Blob>,
}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.resource_identifier: Option<String>The identifier of the resource for which position information is updated. It can be the wireless device ID or the wireless gateway ID, depending on the resource type.
resource_type: Option<PositionResourceType>The type of resource for which position information is updated, which can be a wireless device or a wireless gateway.
geo_json_payload: Option<Blob>The position information of the resource, displayed as a JSON payload. The payload uses the GeoJSON format, which a format that's used to encode geographic data structures. For more information, see GeoJSON.
Implementations§
source§impl UpdateResourcePositionInput
impl UpdateResourcePositionInput
sourcepub fn resource_identifier(&self) -> Option<&str>
pub fn resource_identifier(&self) -> Option<&str>
The identifier of the resource for which position information is updated. It can be the wireless device ID or the wireless gateway ID, depending on the resource type.
sourcepub fn resource_type(&self) -> Option<&PositionResourceType>
pub fn resource_type(&self) -> Option<&PositionResourceType>
The type of resource for which position information is updated, which can be a wireless device or a wireless gateway.
sourcepub fn geo_json_payload(&self) -> Option<&Blob>
pub fn geo_json_payload(&self) -> Option<&Blob>
The position information of the resource, displayed as a JSON payload. The payload uses the GeoJSON format, which a format that's used to encode geographic data structures. For more information, see GeoJSON.
source§impl UpdateResourcePositionInput
impl UpdateResourcePositionInput
sourcepub fn builder() -> UpdateResourcePositionInputBuilder
pub fn builder() -> UpdateResourcePositionInputBuilder
Creates a new builder-style object to manufacture UpdateResourcePositionInput.
Trait Implementations§
source§impl Clone for UpdateResourcePositionInput
impl Clone for UpdateResourcePositionInput
source§fn clone(&self) -> UpdateResourcePositionInput
fn clone(&self) -> UpdateResourcePositionInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for UpdateResourcePositionInput
impl Debug for UpdateResourcePositionInput
impl StructuralPartialEq for UpdateResourcePositionInput
Auto Trait Implementations§
impl Freeze for UpdateResourcePositionInput
impl RefUnwindSafe for UpdateResourcePositionInput
impl Send for UpdateResourcePositionInput
impl Sync for UpdateResourcePositionInput
impl Unpin for UpdateResourcePositionInput
impl UnwindSafe for UpdateResourcePositionInput
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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