[][src]Struct parsec_service::key_id_managers::KeyTriple

pub struct KeyTriple { /* fields omitted */ }

This structure corresponds to a unique identifier of the key. It is used internally by the Key ID manager to refer to a key.

Methods

impl KeyTriple[src]

pub fn new(
    app_name: ApplicationName,
    provider_id: ProviderID,
    key_name: String
) -> KeyTriple
[src]

Creates a new instance of KeyTriple.

pub fn belongs_to_provider(&self, provider_id: ProviderID) -> bool[src]

Checks if this key belongs to a specific provider.

Trait Implementations

impl Clone for KeyTriple[src]

impl Debug for KeyTriple[src]

impl Display for KeyTriple[src]

impl Eq for KeyTriple[src]

impl Hash for KeyTriple[src]

impl PartialEq<KeyTriple> for KeyTriple[src]

impl StructuralEq for KeyTriple[src]

impl StructuralPartialEq for KeyTriple[src]

Auto Trait Implementations

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> Free for T

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> ToString for T where
    T: Display + ?Sized
[src]

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,