pub struct PrivateKeysResponseModel {
pub object: Option<String>,
pub signature_key_pair: Option<Box<SignatureKeyPairResponseModel>>,
pub public_key_encryption_key_pair: Box<PublicKeyEncryptionKeyPairResponseModel>,
pub security_state: Option<Box<SecurityStateModel>>,
}Expand description
PrivateKeysResponseModel : This response model is used to return the asymmetric encryption keys, and signature keys of an entity. This includes the private keys of the key pairs, (private key, signing key), and the public keys of the key pairs (unsigned public key, signed public key, verification key).
Fields§
§object: Option<String>§signature_key_pair: Option<Box<SignatureKeyPairResponseModel>>§public_key_encryption_key_pair: Box<PublicKeyEncryptionKeyPairResponseModel>§security_state: Option<Box<SecurityStateModel>>Implementations§
Source§impl PrivateKeysResponseModel
impl PrivateKeysResponseModel
Sourcepub fn new(
public_key_encryption_key_pair: PublicKeyEncryptionKeyPairResponseModel,
) -> PrivateKeysResponseModel
pub fn new( public_key_encryption_key_pair: PublicKeyEncryptionKeyPairResponseModel, ) -> PrivateKeysResponseModel
This response model is used to return the asymmetric encryption keys, and signature keys of an entity. This includes the private keys of the key pairs, (private key, signing key), and the public keys of the key pairs (unsigned public key, signed public key, verification key).
Trait Implementations§
Source§impl Clone for PrivateKeysResponseModel
impl Clone for PrivateKeysResponseModel
Source§fn clone(&self) -> PrivateKeysResponseModel
fn clone(&self) -> PrivateKeysResponseModel
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 moreSource§impl Debug for PrivateKeysResponseModel
impl Debug for PrivateKeysResponseModel
Source§impl Default for PrivateKeysResponseModel
impl Default for PrivateKeysResponseModel
Source§fn default() -> PrivateKeysResponseModel
fn default() -> PrivateKeysResponseModel
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PrivateKeysResponseModel
impl<'de> Deserialize<'de> for PrivateKeysResponseModel
Source§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
Source§impl PartialEq for PrivateKeysResponseModel
impl PartialEq for PrivateKeysResponseModel
Source§impl Serialize for PrivateKeysResponseModel
impl Serialize for PrivateKeysResponseModel
impl StructuralPartialEq for PrivateKeysResponseModel
Auto Trait Implementations§
impl Freeze for PrivateKeysResponseModel
impl RefUnwindSafe for PrivateKeysResponseModel
impl Send for PrivateKeysResponseModel
impl Sync for PrivateKeysResponseModel
impl Unpin for PrivateKeysResponseModel
impl UnwindSafe for PrivateKeysResponseModel
Blanket Implementations§
§impl<T> AnySync for T
impl<T> AnySync for T
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