Struct pgp::native::types::SignedUserAttribute
source · pub struct SignedUserAttribute {
pub attr: UserAttribute,
pub signatures: Vec<Signature, Global>,
}
Fields§
§attr: UserAttribute
§signatures: Vec<Signature, Global>
Implementations§
source§impl SignedUserAttribute
impl SignedUserAttribute
pub fn new( attr: UserAttribute, signatures: Vec<Signature, Global> ) -> SignedUserAttribute
Trait Implementations§
source§impl Clone for SignedUserAttribute
impl Clone for SignedUserAttribute
source§fn clone(&self) -> SignedUserAttribute
fn clone(&self) -> SignedUserAttribute
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SignedUserAttribute
impl Debug for SignedUserAttribute
source§impl PartialEq<SignedUserAttribute> for SignedUserAttribute
impl PartialEq<SignedUserAttribute> for SignedUserAttribute
source§fn eq(&self, other: &SignedUserAttribute) -> bool
fn eq(&self, other: &SignedUserAttribute) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SignedUserAttribute
impl Serialize for SignedUserAttribute
impl Eq for SignedUserAttribute
impl StructuralEq for SignedUserAttribute
impl StructuralPartialEq for SignedUserAttribute
Auto Trait Implementations§
impl RefUnwindSafe for SignedUserAttribute
impl Send for SignedUserAttribute
impl Sync for SignedUserAttribute
impl Unpin for SignedUserAttribute
impl UnwindSafe for SignedUserAttribute
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.