Struct CreateKeysAndCertificateResp
pub(super) struct CreateKeysAndCertificateResp {
pub(super) ownership_token: String,
pub(super) id: String,
pub(super) certificate: String,
pub(super) key: String,
}Expand description
A response containing the details of a newly created certificate and private key.
Fields§
§ownership_token: StringThe certificate ownership token associated with the certificate.
This field represents the ownership token for the certificate that was generated. The ownership token is used to identify the entity that owns the certificate.
id: String§certificate: StringThe PEM-encoded certificate that was generated.
key: StringThe private key associated with the certificate.
This field contains the PEM-encoded private key that was generated along with the certificate.
Trait Implementations§
§impl Clone for CreateKeysAndCertificateResp
impl Clone for CreateKeysAndCertificateResp
§fn clone(&self) -> CreateKeysAndCertificateResp
fn clone(&self) -> CreateKeysAndCertificateResp
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 CreateKeysAndCertificateResp
impl Debug for CreateKeysAndCertificateResp
§impl<'de> Deserialize<'de> for CreateKeysAndCertificateResp
impl<'de> Deserialize<'de> for CreateKeysAndCertificateResp
§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§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.
§impl Serialize for CreateKeysAndCertificateResp
impl Serialize for CreateKeysAndCertificateResp
Auto Trait Implementations§
impl Freeze for CreateKeysAndCertificateResp
impl RefUnwindSafe for CreateKeysAndCertificateResp
impl Send for CreateKeysAndCertificateResp
impl Sync for CreateKeysAndCertificateResp
impl Unpin for CreateKeysAndCertificateResp
impl UnwindSafe for CreateKeysAndCertificateResp
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