[−][src]Struct sequoia_openpgp::packet::key::PrimaryRole
A marker that indicates the Key
should be treated like a primary key.
Refer to KeyRole
for details.
Trait Implementations
impl Clone for PrimaryRole
[src]
fn clone(&self) -> PrimaryRole
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for PrimaryRole
[src]
impl Debug for PrimaryRole
[src]
impl Eq for PrimaryRole
[src]
impl Hash for PrimaryRole
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl KeyRole for PrimaryRole
[src]
fn convert_key<P: KeyParts>(key: Key<P, UnspecifiedRole>) -> Key<P, Self>
[src]
fn convert_key_ref<P: KeyParts>(key: &Key<P, UnspecifiedRole>) -> &Key<P, Self>
[src]
fn convert_bundle<P: KeyParts>(
bundle: KeyBundle<P, UnspecifiedRole>
) -> KeyBundle<P, Self>
[src]
bundle: KeyBundle<P, UnspecifiedRole>
) -> KeyBundle<P, Self>
fn convert_bundle_ref<P: KeyParts>(
bundle: &KeyBundle<P, UnspecifiedRole>
) -> &KeyBundle<P, Self>
[src]
bundle: &KeyBundle<P, UnspecifiedRole>
) -> &KeyBundle<P, Self>
impl PartialEq<PrimaryRole> for PrimaryRole
[src]
fn eq(&self, other: &PrimaryRole) -> bool
[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'a, P> PrimaryKey<'a, P, PrimaryRole> for PrimaryKeyAmalgamation<'a, P> where
P: 'a + KeyParts,
[src]
P: 'a + KeyParts,
impl<'a, P> PrimaryKey<'a, P, PrimaryRole> for ValidPrimaryKeyAmalgamation<'a, P> where
P: 'a + KeyParts,
[src]
P: 'a + KeyParts,
impl StructuralEq for PrimaryRole
[src]
impl StructuralPartialEq for PrimaryRole
[src]
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
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DynClone for T where
T: Clone,
[src]
T: Clone,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,