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
source§impl PartialEq for UpdateResourcePositionInput
impl PartialEq for UpdateResourcePositionInput
source§fn eq(&self, other: &UpdateResourcePositionInput) -> bool
fn eq(&self, other: &UpdateResourcePositionInput) -> bool
self and other values to be equal, and is used
by ==.