pub struct VRFPrivateKey(/* private fields */);Expand description
An ECVRF private key
Implementations§
Trait Implementations§
Source§impl Clone for VRFPrivateKey
impl Clone for VRFPrivateKey
Source§fn clone(&self) -> VRFPrivateKey
fn clone(&self) -> VRFPrivateKey
Returns a duplicate 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 VRFPrivateKey
impl Debug for VRFPrivateKey
Source§impl Deref for VRFPrivateKey
impl Deref for VRFPrivateKey
Source§impl<'a> From<&'a VRFPrivateKey> for VRFExpandedPrivateKey
impl<'a> From<&'a VRFPrivateKey> for VRFExpandedPrivateKey
Source§fn from(private_key: &'a VRFPrivateKey) -> VRFExpandedPrivateKey
fn from(private_key: &'a VRFPrivateKey) -> VRFExpandedPrivateKey
Converts to this type from the input type.
Source§impl<'a> From<&'a VRFPrivateKey> for VRFPublicKey
impl<'a> From<&'a VRFPrivateKey> for VRFPublicKey
Source§fn from(private_key: &'a VRFPrivateKey) -> VRFPublicKey
fn from(private_key: &'a VRFPrivateKey) -> VRFPublicKey
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for VRFPrivateKey
impl RefUnwindSafe for VRFPrivateKey
impl Send for VRFPrivateKey
impl Sync for VRFPrivateKey
impl Unpin for VRFPrivateKey
impl UnwindSafe for VRFPrivateKey
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