Struct DeviceCertificateInfo
pub struct DeviceCertificateInfo {
pub ownership_token: String,
pub certificate_id: String,
pub certificate: String,
pub key: String,
}Expand description
Represents information about a device certificate, including the ownership token, certificate ID, certificate, and private key.
Fields§
§ownership_token: StringThe ownership token associated with the certificate.
certificate_id: StringThe unique identifier for the certificate.
certificate: StringThe PEM-encoded certificate.
key: StringThe PEM-encoded private key associated with the certificate.
This field contains the private key in PEM format if the certificate
was generated by the AWS. If a Certificate Signing Request
(CSR) was used to create the certificate, this field will be an
empty string, as the private key is not provided by AWS.
Trait Implementations§
§impl Clone for DeviceCertificateInfo
impl Clone for DeviceCertificateInfo
§fn clone(&self) -> DeviceCertificateInfo
fn clone(&self) -> DeviceCertificateInfo
Returns a duplicate 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 more§impl Debug for DeviceCertificateInfo
impl Debug for DeviceCertificateInfo
§impl From<CreateCertificateFromCsrResp> for DeviceCertificateInfo
impl From<CreateCertificateFromCsrResp> for DeviceCertificateInfo
§fn from(value: CreateCertificateFromCsrResp) -> Self
fn from(value: CreateCertificateFromCsrResp) -> Self
Converts to this type from the input type.
§impl From<CreateKeysAndCertificateResp> for DeviceCertificateInfo
impl From<CreateKeysAndCertificateResp> for DeviceCertificateInfo
§fn from(value: CreateKeysAndCertificateResp) -> Self
fn from(value: CreateKeysAndCertificateResp) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DeviceCertificateInfo
impl RefUnwindSafe for DeviceCertificateInfo
impl Send for DeviceCertificateInfo
impl Sync for DeviceCertificateInfo
impl Unpin for DeviceCertificateInfo
impl UnwindSafe for DeviceCertificateInfo
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