pub struct Block {
pub hash: String,
pub previous_hash: String,
pub timestamp: u32,
pub public_key: String,
pub signature: String,
pub transactions: Vec<String>,
pub stakes: Vec<String>,
}Fields§
§hash: String§previous_hash: String§timestamp: u32§public_key: String§signature: String§transactions: Vec<String>§stakes: Vec<String>Trait Implementations§
source§impl<'de> Deserialize<'de> for Block
impl<'de> Deserialize<'de> for Block
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