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
impl StructuralPartialEq for SidewalkDevice
Auto Trait Implementations§
impl Freeze for SidewalkDevice
impl RefUnwindSafe for SidewalkDevice
impl Send for SidewalkDevice
impl Sync for SidewalkDevice
impl Unpin for SidewalkDevice
impl UnwindSafe for SidewalkDevice
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