Struct chain_crypto::role::PublicKey
source · pub struct PublicKey<R, Algorithm: AsymmetricPublicKey> {
inner: PublicKey<Algorithm>,
marker: PhantomData<R>,
}
Fields§
§inner: PublicKey<Algorithm>
§marker: PhantomData<R>
Implementations§
Trait Implementations§
source§impl<R, A: AsymmetricPublicKey> Clone for PublicKey<R, A>
impl<R, A: AsymmetricPublicKey> Clone for PublicKey<R, A>
source§impl<R, A: AsymmetricPublicKey> Hash for PublicKey<R, A>
impl<R, A: AsymmetricPublicKey> Hash for PublicKey<R, A>
source§impl<R, A: AsymmetricPublicKey> Ord for PublicKey<R, A>
impl<R, A: AsymmetricPublicKey> Ord for PublicKey<R, A>
source§impl<R, A: AsymmetricPublicKey> PartialEq<PublicKey<R, A>> for PublicKey<R, A>
impl<R, A: AsymmetricPublicKey> PartialEq<PublicKey<R, A>> for PublicKey<R, A>
source§impl<R, A: AsymmetricPublicKey> PartialOrd<PublicKey<R, A>> for PublicKey<R, A>
impl<R, A: AsymmetricPublicKey> PartialOrd<PublicKey<R, A>> for PublicKey<R, A>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl<R, A: AsymmetricPublicKey> Eq for PublicKey<R, A>
Auto Trait Implementations§
impl<R, Algorithm> RefUnwindSafe for PublicKey<R, Algorithm>where R: RefUnwindSafe, <Algorithm as AsymmetricPublicKey>::Public: RefUnwindSafe,
impl<R, Algorithm> Send for PublicKey<R, Algorithm>where R: Send, <Algorithm as AsymmetricPublicKey>::Public: Send,
impl<R, Algorithm> Sync for PublicKey<R, Algorithm>where R: Sync, <Algorithm as AsymmetricPublicKey>::Public: Sync,
impl<R, Algorithm> Unpin for PublicKey<R, Algorithm>where R: Unpin, <Algorithm as AsymmetricPublicKey>::Public: Unpin,
impl<R, Algorithm> UnwindSafe for PublicKey<R, Algorithm>where R: UnwindSafe, <Algorithm as AsymmetricPublicKey>::Public: UnwindSafe,
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