Trait AbstractBlock

Source
pub trait AbstractBlock<Data = String, Index = u8, Hash = String, Nonce = u8, Ts = i64> {
    // Required method
    fn constructor(
        &self,
        id: Index,
        hash: Hash,
        nonce: Nonce,
        previous: Hash,
        timestamp: Ts,
    ) -> Self
       where Self: Sized;
}

Required Methods§

Source

fn constructor( &self, id: Index, hash: Hash, nonce: Nonce, previous: Hash, timestamp: Ts, ) -> Self
where Self: Sized,

Implementors§