Struct pow_sha256::PoW
source · pub struct PoW<T> {
pub nonce: u64,
pub result: String,
/* private fields */
}
Expand description
Proof of Work over concrete type T. T can be any type that implements serde::Serialize.
Fields§
§nonce: u64
§result: String
Trait Implementations§
source§impl<'de, T> Deserialize<'de> for PoW<T>
impl<'de, T> Deserialize<'de> for PoW<T>
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