[][src]Struct tink_proto::KeyTypeEntry

pub struct KeyTypeEntry {
    pub primitive_name: String,
    pub type_url: String,
    pub key_manager_version: u32,
    pub new_key_allowed: bool,
    pub catalogue_name: String,
}

An entry that describes a key type to be used with Tink library, specifying the corresponding primitive, key manager, and deprecation status. All fields are required.

Fields

primitive_name: String

E.g. “Aead”, “Mac”, ... (case-insensitive)

type_url: String

Name of the key type.

key_manager_version: u32

Minimum required version of key manager.

new_key_allowed: bool

Can the key manager create new keys?

catalogue_name: String

Catalogue to be queried for key manager,

Trait Implementations

impl Clone for KeyTypeEntry[src]

impl Debug for KeyTypeEntry[src]

impl Default for KeyTypeEntry[src]

impl Message for KeyTypeEntry[src]

impl PartialEq<KeyTypeEntry> for KeyTypeEntry[src]

impl StructuralPartialEq for KeyTypeEntry[src]

Auto Trait Implementations

impl RefUnwindSafe for KeyTypeEntry

impl Send for KeyTypeEntry

impl Sync for KeyTypeEntry

impl Unpin for KeyTypeEntry

impl UnwindSafe for KeyTypeEntry

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.