Enum kmip_protocol::types::response::ManagedObject [−][src]
#[non_exhaustive]
pub enum ManagedObject {
Certificate(Certificate),
SymmetricKey(SymmetricKey),
PublicKey(PublicKey),
PrivateKey(PrivateKey),
}
Expand description
See KMIP 1.0 section 2.2 Managed Objects.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Certificate(Certificate)
Tuple Fields of Certificate
0: Certificate
SymmetricKey(SymmetricKey)
Tuple Fields of SymmetricKey
0: SymmetricKey
PublicKey(PublicKey)
Tuple Fields of PublicKey
0: PublicKey
PrivateKey(PrivateKey)
Tuple Fields of PrivateKey
0: PrivateKey
Trait Implementations
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ManagedObject
impl Send for ManagedObject
impl Sync for ManagedObject
impl Unpin for ManagedObject
impl UnwindSafe for ManagedObject
Blanket Implementations
Mutably borrows from an owned value. Read more