pub struct NonceReveal {
pub member: String,
pub nonce: [u8; 32],
}Expand description
The reveal phase of a nonce commitment.
Fields§
§member: StringRevealing member.
nonce: [u8; 32]The secret nonce.
Trait Implementations§
Source§impl Clone for NonceReveal
impl Clone for NonceReveal
Source§fn clone(&self) -> NonceReveal
fn clone(&self) -> NonceReveal
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 NonceReveal
impl Debug for NonceReveal
Source§impl<'de> Deserialize<'de> for NonceReveal
impl<'de> Deserialize<'de> for NonceReveal
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for NonceReveal
impl RefUnwindSafe for NonceReveal
impl Send for NonceReveal
impl Sync for NonceReveal
impl Unpin for NonceReveal
impl UnsafeUnpin for NonceReveal
impl UnwindSafe for NonceReveal
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