Struct akd::ecvrf::VRFPrivateKey
source · pub struct VRFPrivateKey(_);
Expand description
An ECVRF private key
Implementations§
Methods from Deref<Target = SecretKey>§
Trait Implementations§
source§impl Clone for VRFPrivateKey
impl Clone for VRFPrivateKey
source§fn clone(&self) -> VRFPrivateKey
fn clone(&self) -> VRFPrivateKey
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 VRFPrivateKey
impl Debug for VRFPrivateKey
source§impl Deref for VRFPrivateKey
impl Deref for VRFPrivateKey
source§impl<'de> Deserialize<'de> for VRFPrivateKey
impl<'de> Deserialize<'de> for VRFPrivateKey
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<VRFPrivateKey, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<VRFPrivateKey, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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.
source§impl Serialize for VRFPrivateKey
impl Serialize for VRFPrivateKey
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more