pub type ActionHashed = HoloHashed<Action>;

Aliased Type§

struct ActionHashed {
    pub content: Action,
    pub hash: HoloHash<Action>,
}

Fields§

§content: Action

The content which is hashed of type C.

§hash: HoloHash<Action>

The hash of the content C.

Trait Implementations§

source§

impl ChainItem for ActionHashed

§

type Hash = HoloHash<Action>

The type used to represent a hash of this item
source§

fn seq(&self) -> u32

The sequence in the chain
source§

fn get_hash(&self) -> &Self::Hash

The hash of this item
source§

fn prev_hash(&self) -> Option<&Self::Hash>

The hash of the previous item
source§

fn to_display(&self) -> String

A display representation of the item