Type Alias gear_core::ids::Hash

source ·
pub type Hash = [u8; 32];
Expand description

Hash type used in gear protocol.

Trait Implementations§

source§

impl From<CodeId> for Hash

source§

fn from(val: CodeId) -> Hash

Converts to this type from the input type.
source§

impl From<MessageId> for Hash

source§

fn from(val: MessageId) -> Hash

Converts to this type from the input type.
source§

impl From<ProgramId> for Hash

source§

fn from(val: ProgramId) -> Hash

Converts to this type from the input type.
source§

impl From<ReservationId> for Hash

source§

fn from(val: ReservationId) -> Hash

Converts to this type from the input type.