Struct schnorrkel::cert::AdaptorCertPublic
source · pub struct AdaptorCertPublic(pub [u8; 32]);
Expand description
Adaptor Implicit Certificate Public Key Reconstruction Data
Identifying the public key of, and implicitly verifying, an Adaptor implicit certificate requires this data, which is produced when the certificate holder accepts the implicit certificate.
Tuple Fields§
§0: [u8; 32]
Trait Implementations§
source§impl Clone for AdaptorCertPublic
impl Clone for AdaptorCertPublic
source§fn clone(&self) -> AdaptorCertPublic
fn clone(&self) -> AdaptorCertPublic
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 AdaptorCertPublic
impl Debug for AdaptorCertPublic
source§impl From<AdaptorCertSecret> for AdaptorCertPublic
impl From<AdaptorCertSecret> for AdaptorCertPublic
TODO: Serde serialization/deserialization
source§fn from(secret: AdaptorCertSecret) -> AdaptorCertPublic
fn from(secret: AdaptorCertSecret) -> AdaptorCertPublic
Converts to this type from the input type.
source§impl Hash for AdaptorCertPublic
impl Hash for AdaptorCertPublic
source§impl PartialEq for AdaptorCertPublic
impl PartialEq for AdaptorCertPublic
source§fn eq(&self, other: &AdaptorCertPublic) -> bool
fn eq(&self, other: &AdaptorCertPublic) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for AdaptorCertPublic
impl Eq for AdaptorCertPublic
impl StructuralPartialEq for AdaptorCertPublic
Auto Trait Implementations§
impl Freeze for AdaptorCertPublic
impl RefUnwindSafe for AdaptorCertPublic
impl Send for AdaptorCertPublic
impl Sync for AdaptorCertPublic
impl Unpin for AdaptorCertPublic
impl UnwindSafe for AdaptorCertPublic
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<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)