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: AttributeName1: 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.2 Name.

See KMIP 1.0 section 3.2 Name.

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.

See KMIP 1.0 section 3.30 Application Specific Information.

See KMIP 1.0 section 3.31 Contact Information.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.