[−][src]Struct sequoia_openpgp::packet::key::PublicParts
A marker that indicates that a Key
should be treated like a
public key.
Note: this doesn't indicate whether the data structure contains
secret key material; it indicates whether any secret key material
should be ignored. For instance, when exporting a key with the
PublicParts
marker, secret key material will not be exported.
See the documentation for Key
for a demonstration.
Refer to KeyParts
for details.
Trait Implementations
impl Clone for PublicParts
[src]
pub fn clone(&self) -> PublicParts
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for PublicParts
[src]
impl Debug for PublicParts
[src]
impl Eq for PublicParts
[src]
impl Hash for PublicParts
[src]
pub fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl KeyParts for PublicParts
[src]
pub fn convert_key<R: KeyRole>(
key: Key<UnspecifiedParts, R>
) -> Result<Key<Self, R>>
[src]
key: Key<UnspecifiedParts, R>
) -> Result<Key<Self, R>>
pub fn convert_key_ref<R: KeyRole>(
key: &Key<UnspecifiedParts, R>
) -> Result<&Key<Self, R>>
[src]
key: &Key<UnspecifiedParts, R>
) -> Result<&Key<Self, R>>
pub fn convert_bundle<R: KeyRole>(
bundle: KeyBundle<UnspecifiedParts, R>
) -> Result<KeyBundle<Self, R>>
[src]
bundle: KeyBundle<UnspecifiedParts, R>
) -> Result<KeyBundle<Self, R>>
pub fn convert_bundle_ref<R: KeyRole>(
bundle: &KeyBundle<UnspecifiedParts, R>
) -> Result<&KeyBundle<Self, R>>
[src]
bundle: &KeyBundle<UnspecifiedParts, R>
) -> Result<&KeyBundle<Self, R>>
pub fn convert_key_amalgamation<'a, R: KeyRole>(
ka: ComponentAmalgamation<'a, Key<UnspecifiedParts, R>>
) -> Result<ComponentAmalgamation<'a, Key<Self, R>>>
[src]
ka: ComponentAmalgamation<'a, Key<UnspecifiedParts, R>>
) -> Result<ComponentAmalgamation<'a, Key<Self, R>>>
pub fn convert_key_amalgamation_ref<'a, R: KeyRole>(
ka: &'a ComponentAmalgamation<'a, Key<UnspecifiedParts, R>>
) -> Result<&'a ComponentAmalgamation<'a, Key<Self, R>>>
[src]
ka: &'a ComponentAmalgamation<'a, Key<UnspecifiedParts, R>>
) -> Result<&'a ComponentAmalgamation<'a, Key<Self, R>>>
impl PartialEq<PublicParts> for PublicParts
[src]
pub fn eq(&self, other: &PublicParts) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralEq for PublicParts
[src]
impl StructuralPartialEq for PublicParts
[src]
Auto Trait Implementations
impl RefUnwindSafe for PublicParts
impl Send for PublicParts
impl Sync for PublicParts
impl Unpin for PublicParts
impl UnwindSafe for PublicParts
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,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DynClone for T where
T: Clone,
[src]
T: Clone,
pub fn __clone_box(&self, Private) -> *mut ()
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub 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.
pub 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>,