Struct aws_sdk_iotwireless::types::LoRaWanDeviceMetadata
source · #[non_exhaustive]pub struct LoRaWanDeviceMetadata {
pub dev_eui: Option<String>,
pub f_port: Option<i32>,
pub data_rate: Option<i32>,
pub frequency: Option<i32>,
pub timestamp: Option<String>,
pub gateways: Option<Vec<LoRaWanGatewayMetadata>>,
}
Expand description
LoRaWAN device metatdata.
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.dev_eui: Option<String>
The DevEUI value.
f_port: Option<i32>
The FPort value.
data_rate: Option<i32>
The DataRate value.
frequency: Option<i32>
The device's channel frequency in Hz.
timestamp: Option<String>
The date and time of the metadata.
gateways: Option<Vec<LoRaWanGatewayMetadata>>
Information about the gateways accessed by the device.
Implementations§
source§impl LoRaWanDeviceMetadata
impl LoRaWanDeviceMetadata
sourcepub fn gateways(&self) -> &[LoRaWanGatewayMetadata]
pub fn gateways(&self) -> &[LoRaWanGatewayMetadata]
Information about the gateways accessed by the device.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .gateways.is_none()
.
source§impl LoRaWanDeviceMetadata
impl LoRaWanDeviceMetadata
sourcepub fn builder() -> LoRaWanDeviceMetadataBuilder
pub fn builder() -> LoRaWanDeviceMetadataBuilder
Creates a new builder-style object to manufacture LoRaWanDeviceMetadata
.
Trait Implementations§
source§impl Clone for LoRaWanDeviceMetadata
impl Clone for LoRaWanDeviceMetadata
source§fn clone(&self) -> LoRaWanDeviceMetadata
fn clone(&self) -> LoRaWanDeviceMetadata
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 LoRaWanDeviceMetadata
impl Debug for LoRaWanDeviceMetadata
source§impl PartialEq for LoRaWanDeviceMetadata
impl PartialEq for LoRaWanDeviceMetadata
source§fn eq(&self, other: &LoRaWanDeviceMetadata) -> bool
fn eq(&self, other: &LoRaWanDeviceMetadata) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for LoRaWanDeviceMetadata
Auto Trait Implementations§
impl RefUnwindSafe for LoRaWanDeviceMetadata
impl Send for LoRaWanDeviceMetadata
impl Sync for LoRaWanDeviceMetadata
impl Unpin for LoRaWanDeviceMetadata
impl UnwindSafe for LoRaWanDeviceMetadata
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.