Struct schnorrkel::cert::AdaptorCertSecret
source · pub struct AdaptorCertSecret(pub [u8; 64]);
Expand description
Adaptor Implicit Certificate Secret
Issuing an Adaptor implicit certificate requires producing this and securely sending it to the certificate holder.
Tuple Fields§
§0: [u8; 64]
Trait Implementations§
source§impl Clone for AdaptorCertSecret
impl Clone for AdaptorCertSecret
source§fn clone(&self) -> AdaptorCertSecret
fn clone(&self) -> AdaptorCertSecret
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 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.
impl Copy for AdaptorCertSecret
Auto Trait Implementations§
impl RefUnwindSafe for AdaptorCertSecret
impl Send for AdaptorCertSecret
impl Sync for AdaptorCertSecret
impl Unpin for AdaptorCertSecret
impl UnwindSafe for AdaptorCertSecret
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