Struct algonaut_core::VrfPk
source · [−]Expand description
VRF public key used in key registration transaction
Tuple Fields
0: [u8; 32]
Implementations
Trait Implementations
sourceimpl<'de> Deserialize<'de> for VrfPk
impl<'de> Deserialize<'de> for VrfPk
sourcefn 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
sourceimpl Serialize for VrfPk
impl Serialize for VrfPk
sourcefn 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
impl Copy for VrfPk
impl Eq for VrfPk
impl StructuralEq for VrfPk
impl StructuralPartialEq for VrfPk
Auto Trait Implementations
impl RefUnwindSafe for VrfPk
impl Send for VrfPk
impl Sync for VrfPk
impl Unpin for VrfPk
impl UnwindSafe for VrfPk
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.