Struct sequoia_openpgp::packet::key::PrimaryRole [−][src]
pub struct PrimaryRole;
Expand description
A marker that indicates the Key
should be treated like a primary key.
Refer to KeyRole
for details.
Trait Implementations
Converts a key with an unspecified role into this kind of key. Read more
Converts a key reference with an unspecified role into this kind of key reference. Read more
Converts a key bundle with an unspecified role into this kind of key bundle. Read more
fn convert_bundle_ref<P: KeyParts>(
bundle: &KeyBundle<P, UnspecifiedRole>
) -> &KeyBundle<P, Self>
fn convert_bundle_ref<P: KeyParts>(
bundle: &KeyBundle<P, UnspecifiedRole>
) -> &KeyBundle<P, Self>
Converts a key bundle reference with an unspecified role into this kind of key bundle reference. Read more
impl<'a, P> PrimaryKey<'a, P, PrimaryRole> for PrimaryKeyAmalgamation<'a, P> where
P: 'a + KeyParts,
impl<'a, P> PrimaryKey<'a, P, PrimaryRole> for PrimaryKeyAmalgamation<'a, P> where
P: 'a + KeyParts,
impl<'a, P> PrimaryKey<'a, P, PrimaryRole> for ValidPrimaryKeyAmalgamation<'a, P> where
P: 'a + KeyParts,
impl<'a, P> PrimaryKey<'a, P, PrimaryRole> for ValidPrimaryKeyAmalgamation<'a, P> where
P: 'a + KeyParts,
Auto Trait Implementations
impl RefUnwindSafe for PrimaryRole
impl Send for PrimaryRole
impl Sync for PrimaryRole
impl Unpin for PrimaryRole
impl UnwindSafe for PrimaryRole
Blanket Implementations
Mutably borrows from an owned value. Read more