#[non_exhaustive]pub struct SidewalkGetDeviceProfile {
pub application_server_public_key: Option<String>,
pub qualification_status: Option<bool>,
pub dak_certificate_metadata: Option<Vec<DakCertificateMetadata>>,
}Expand description
Gets information about a Sidewalk device profile.
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.application_server_public_key: Option<String>The Sidewalk application server public key.
qualification_status: Option<bool>Gets information about the certification status of a Sidewalk device profile.
dak_certificate_metadata: Option<Vec<DakCertificateMetadata>>The DAK certificate information of the Sidewalk device profile.
Implementations§
source§impl SidewalkGetDeviceProfile
impl SidewalkGetDeviceProfile
sourcepub fn application_server_public_key(&self) -> Option<&str>
pub fn application_server_public_key(&self) -> Option<&str>
The Sidewalk application server public key.
sourcepub fn qualification_status(&self) -> Option<bool>
pub fn qualification_status(&self) -> Option<bool>
Gets information about the certification status of a Sidewalk device profile.
sourcepub fn dak_certificate_metadata(&self) -> &[DakCertificateMetadata]
pub fn dak_certificate_metadata(&self) -> &[DakCertificateMetadata]
The DAK certificate information of the Sidewalk device profile.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .dak_certificate_metadata.is_none().
source§impl SidewalkGetDeviceProfile
impl SidewalkGetDeviceProfile
sourcepub fn builder() -> SidewalkGetDeviceProfileBuilder
pub fn builder() -> SidewalkGetDeviceProfileBuilder
Creates a new builder-style object to manufacture SidewalkGetDeviceProfile.
Trait Implementations§
source§impl Clone for SidewalkGetDeviceProfile
impl Clone for SidewalkGetDeviceProfile
source§fn clone(&self) -> SidewalkGetDeviceProfile
fn clone(&self) -> SidewalkGetDeviceProfile
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 SidewalkGetDeviceProfile
impl Debug for SidewalkGetDeviceProfile
source§impl PartialEq for SidewalkGetDeviceProfile
impl PartialEq for SidewalkGetDeviceProfile
source§fn eq(&self, other: &SidewalkGetDeviceProfile) -> bool
fn eq(&self, other: &SidewalkGetDeviceProfile) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for SidewalkGetDeviceProfile
Auto Trait Implementations§
impl Freeze for SidewalkGetDeviceProfile
impl RefUnwindSafe for SidewalkGetDeviceProfile
impl Send for SidewalkGetDeviceProfile
impl Sync for SidewalkGetDeviceProfile
impl Unpin for SidewalkGetDeviceProfile
impl UnwindSafe for SidewalkGetDeviceProfile
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.