pub struct VKeyHash(/* private fields */);Expand description
Verifying key hash.
Implementations§
Source§impl VKeyHash
impl VKeyHash
Sourcepub const fn from_hash_u32(hash: HashU32) -> Self
pub const fn from_hash_u32(hash: HashU32) -> Self
Sourcepub const fn from_bytes(bytes: B256) -> Self
pub const fn from_bytes(bytes: B256) -> Self
Sourcepub const fn to_hash_u32(&self) -> HashU32
pub const fn to_hash_u32(&self) -> HashU32
Trait Implementations§
Source§impl<'de> Deserialize<'de> for VKeyHash
impl<'de> Deserialize<'de> for VKeyHash
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
Source§impl From<FixedBytes<32>> for VKeyHash
impl From<FixedBytes<32>> for VKeyHash
Source§impl Ord for VKeyHash
impl Ord for VKeyHash
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for VKeyHash
impl PartialOrd for VKeyHash
impl Copy for VKeyHash
impl Eq for VKeyHash
impl StructuralPartialEq for VKeyHash
Auto Trait Implementations§
impl Freeze for VKeyHash
impl RefUnwindSafe for VKeyHash
impl Send for VKeyHash
impl Sync for VKeyHash
impl Unpin for VKeyHash
impl UnsafeUnpin for VKeyHash
impl UnwindSafe for VKeyHash
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