pub struct PersonalKey {
    pub active: bool,
    pub public_key_id: String,
    pub public_key_value: String,
    pub private_key_location: Option<String>,
    pub key_type_identifier: String,
    pub date_created: OffsetDateTime,
}
Expand description

Information about one of the user’s keys

Fields§

§active: bool

Flag saying if the key will be used (there can only be one active key at a time)

§public_key_id: String

The public key’s tag. Used to identify the key pair

§public_key_value: String

The raw value of the public key in base64

§private_key_location: Option<String>

The location in the file system of the private key

§key_type_identifier: String

The type of private/public key this is

§date_created: OffsetDateTime

The time at which the key was registered with wapm

Trait Implementations§

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
The archived version of the pointer metadata for this type.
Converts some archived metadata to the pointer metadata for itself.
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
Deserializes using the given deserializer

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type for metadata in pointers and references to Self.
Should always be Self
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.
upcast ref
upcast mut ref
upcast boxed dyn
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more