Enum kmip_protocol::types::request::RequestPayload [−][src]
#[non_exhaustive]
pub enum RequestPayload {
Show 17 variants
Create(ObjectType, TemplateAttribute),
CreateKeyPair(Option<CommonTemplateAttribute>, Option<PrivateKeyTemplateAttribute>, Option<PublicKeyTemplateAttribute>),
Register(ObjectType, TemplateAttribute, Option<ManagedObject>),
Locate(Vec<Attribute>),
Get(Option<UniqueIdentifier>, Option<KeyFormatType>, Option<KeyCompressionType>, Option<KeyWrappingSpecification>),
GetAttributes(Option<UniqueIdentifier>, Option<Vec<AttributeName>>),
GetAttributeList(Option<UniqueIdentifier>),
AddAttribute(Option<UniqueIdentifier>, Attribute),
ModifyAttribute(Option<UniqueIdentifier>, Attribute),
DeleteAttribute(Option<UniqueIdentifier>, AttributeName, Option<AttributeIndex>),
Activate(Option<UniqueIdentifier>),
Revoke(Option<UniqueIdentifier>, RevocationReason, Option<CompromiseOccurrenceDate>),
Destroy(Option<UniqueIdentifier>),
Query(Vec<QueryFunction>),
DiscoverVersions(Vec<ProtocolVersion>),
Sign(Option<UniqueIdentifier>, Option<CryptographicParameters>, Data),
RNGRetrieve(DataLength),
}Expand description
See KMIP 1.0 section 7.1 Message Structure.
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.
Tuple Fields of Create
Tuple Fields of CreateKeyPair
Tuple Fields of Register
Tuple Fields of Get
Tuple Fields of GetAttributes
0: Option<UniqueIdentifier>1: Option<Vec<AttributeName>>Tuple Fields of GetAttributeList
Tuple Fields of AddAttribute
0: Option<UniqueIdentifier>1: AttributeTuple Fields of ModifyAttribute
0: Option<UniqueIdentifier>1: AttributeTuple Fields of DeleteAttribute
Tuple Fields of Activate
Tuple Fields of Revoke
Tuple Fields of Destroy
Tuple Fields of Query
0: Vec<QueryFunction>Tuple Fields of DiscoverVersions
0: Vec<ProtocolVersion>Tuple Fields of Sign
Tuple Fields of RNGRetrieve
0: DataLengthImplementations
Trait Implementations
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 RequestPayload
impl Send for RequestPayload
impl Sync for RequestPayload
impl Unpin for RequestPayload
impl UnwindSafe for RequestPayload
Blanket Implementations
Mutably borrows from an owned value. Read more