Struct sequoia_openpgp::packet::key::PrimaryRole
source · [−]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
sourceimpl Clone for PrimaryRole
impl Clone for PrimaryRole
sourcefn clone(&self) -> PrimaryRole
fn clone(&self) -> PrimaryRole
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for PrimaryRole
impl Debug for PrimaryRole
sourceimpl Hash for PrimaryRole
impl Hash for PrimaryRole
sourceimpl KeyRole for PrimaryRole
impl KeyRole for PrimaryRole
sourcefn convert_key<P: KeyParts>(key: Key<P, UnspecifiedRole>) -> Key<P, Self>
fn convert_key<P: KeyParts>(key: Key<P, UnspecifiedRole>) -> Key<P, Self>
Converts a key with an unspecified role into this kind of key. Read more
sourcefn convert_key_ref<P: KeyParts>(key: &Key<P, UnspecifiedRole>) -> &Key<P, Self>
fn convert_key_ref<P: KeyParts>(key: &Key<P, UnspecifiedRole>) -> &Key<P, Self>
Converts a key reference with an unspecified role into this kind of key reference. Read more
sourcefn convert_bundle<P: KeyParts>(
bundle: KeyBundle<P, UnspecifiedRole>
) -> KeyBundle<P, Self>
fn convert_bundle<P: KeyParts>(
bundle: KeyBundle<P, UnspecifiedRole>
) -> KeyBundle<P, Self>
Converts a key bundle with an unspecified role into this kind of key bundle. Read more
sourcefn 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
sourceimpl PartialEq<PrimaryRole> for PrimaryRole
impl PartialEq<PrimaryRole> for PrimaryRole
sourceimpl<'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,
sourceimpl<'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,
impl Copy for PrimaryRole
impl Eq for PrimaryRole
impl StructuralEq for PrimaryRole
impl StructuralPartialEq for PrimaryRole
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more