[][src]Struct casper_node::types::BlockHash

pub struct BlockHash(_);

A cryptographic hash identifying a Block.

Implementations

impl BlockHash[src]

pub fn new(hash: Digest) -> Self[src]

Constructs a new BlockHash.

pub fn inner(&self) -> &Digest[src]

Returns the wrapped inner hash.

Trait Implementations

impl AsRef<[u8]> for BlockHash[src]

impl Clone for BlockHash[src]

impl Copy for BlockHash[src]

impl DataSize for BlockHash[src]

impl Debug for BlockHash[src]

impl<'de> Deserialize<'de> for BlockHash[src]

impl Display for BlockHash[src]

impl Eq for BlockHash[src]

impl From<Digest> for BlockHash[src]

impl FromBytes for BlockHash[src]

impl Hash for BlockHash[src]

impl JsonSchema for BlockHash[src]

impl Ord for BlockHash[src]

impl PartialEq<BlockHash> for BlockHash[src]

impl PartialOrd<BlockHash> for BlockHash[src]

impl Serialize for BlockHash[src]

impl StructuralEq for BlockHash[src]

impl StructuralPartialEq for BlockHash[src]

impl ToBytes for BlockHash[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> CallHasher for T where
    T: Hash

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> DynClone for T where
    T: Clone
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ProtocolName for T where
    T: AsRef<[u8]>, 

impl<T> RuleType for T where
    T: Eq + Ord + Copy + Debug + Hash
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> Serialize for T where
    T: Serialize + ?Sized
[src]

impl<T> ToHex for T where
    T: AsRef<[u8]>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]