Struct kmip_protocol::types::request::Attribute [−][src]
pub struct Attribute(pub AttributeName, pub Option<AttributeIndex>, pub AttributeValue);
Expand description
See KMIP 1.0 section 2.1.1 Attribute.
Tuple Fields
0: AttributeName
1: Option<AttributeIndex>
2: AttributeValue
Implementations
Helper functions to simplifying including KMIP TemplateAttributes in requests.
The set of possible attributes and their textual names are specified by the KMIP 1.0 spec in Section 3 Attributes. We offer various Attribute constructor functions that avoid the need for the caller to couple the right AttributeName and AttributeValue pairs together and to use the correct AttributeName text value and instead just Do The Right Thing for them.
See KMIP 1.0 section 3.1 Unique Identifier.
See KMIP 1.0 section 3.3 Object Type.
See KMIP 1.0 section 3.4 Cryptographic Algorithm.
See KMIP 1.0 section 3.5 Cryptographic Length.
See KMIP 1.0 section 3.6 Cryptographic Parameters.
See KMIP 1.0 section 3.13 Operation Policy Name.
See KMIP 1.0 section 3.14 Cryptographic Usage Mask.
See KMIP 1.0 section 3.24 Activation Date.
See KMIP 1.0 section 3.28 Object Group.
See KMIP 1.0 section 3.29 Link.
pub fn ApplicationSpecificInformation(
application_namespace: ApplicationNamespace,
application_data: ApplicationData
) -> Self
pub fn ApplicationSpecificInformation(
application_namespace: ApplicationNamespace,
application_data: ApplicationData
) -> Self
See KMIP 1.0 section 3.30 Application Specific Information.
See KMIP 1.0 section 3.31 Contact Information.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Attribute
impl UnwindSafe for Attribute
Blanket Implementations
Mutably borrows from an owned value. Read more