Struct aws_sdk_iotwireless::types::SidewalkDevice
source · #[non_exhaustive]pub struct SidewalkDevice {
pub amazon_id: Option<String>,
pub sidewalk_id: Option<String>,
pub sidewalk_manufacturing_sn: Option<String>,
pub device_certificates: Option<Vec<CertificateList>>,
pub private_keys: Option<Vec<CertificateList>>,
pub device_profile_id: Option<String>,
pub certificate_id: Option<String>,
pub status: Option<WirelessDeviceSidewalkStatus>,
}
Expand description
Sidewalk device object.
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.amazon_id: Option<String>
The Sidewalk Amazon ID.
sidewalk_id: Option<String>
The sidewalk device identification.
sidewalk_manufacturing_sn: Option<String>
The Sidewalk manufacturing series number.
device_certificates: Option<Vec<CertificateList>>
The sidewalk device certificates for Ed25519 and P256r1.
private_keys: Option<Vec<CertificateList>>
The Sidewalk device private keys that will be used for onboarding the device.
device_profile_id: Option<String>
The ID of the Sidewalk device profile.
certificate_id: Option<String>
The ID of the Sidewalk device profile.
status: Option<WirelessDeviceSidewalkStatus>
The Sidewalk device status, such as provisioned or registered.
Implementations§
source§impl SidewalkDevice
impl SidewalkDevice
sourcepub fn sidewalk_id(&self) -> Option<&str>
pub fn sidewalk_id(&self) -> Option<&str>
The sidewalk device identification.
sourcepub fn sidewalk_manufacturing_sn(&self) -> Option<&str>
pub fn sidewalk_manufacturing_sn(&self) -> Option<&str>
The Sidewalk manufacturing series number.
sourcepub fn device_certificates(&self) -> &[CertificateList]
pub fn device_certificates(&self) -> &[CertificateList]
The sidewalk device certificates for Ed25519 and P256r1.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .device_certificates.is_none()
.
sourcepub fn private_keys(&self) -> &[CertificateList]
pub fn private_keys(&self) -> &[CertificateList]
The Sidewalk device private keys that will be used for onboarding 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 .private_keys.is_none()
.
sourcepub fn device_profile_id(&self) -> Option<&str>
pub fn device_profile_id(&self) -> Option<&str>
The ID of the Sidewalk device profile.
sourcepub fn certificate_id(&self) -> Option<&str>
pub fn certificate_id(&self) -> Option<&str>
The ID of the Sidewalk device profile.
sourcepub fn status(&self) -> Option<&WirelessDeviceSidewalkStatus>
pub fn status(&self) -> Option<&WirelessDeviceSidewalkStatus>
The Sidewalk device status, such as provisioned or registered.
source§impl SidewalkDevice
impl SidewalkDevice
sourcepub fn builder() -> SidewalkDeviceBuilder
pub fn builder() -> SidewalkDeviceBuilder
Creates a new builder-style object to manufacture SidewalkDevice
.
Trait Implementations§
source§impl Clone for SidewalkDevice
impl Clone for SidewalkDevice
source§fn clone(&self) -> SidewalkDevice
fn clone(&self) -> SidewalkDevice
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SidewalkDevice
impl Debug for SidewalkDevice
source§impl PartialEq for SidewalkDevice
impl PartialEq for SidewalkDevice
source§fn eq(&self, other: &SidewalkDevice) -> bool
fn eq(&self, other: &SidewalkDevice) -> bool
self
and other
values to be equal, and is used
by ==
.