pub struct QuantumBlock {
pub index: u64,
pub timestamp: u64,
pub previous_hash: String,
pub hash: String,
pub quantum_hash: String,
pub data: String,
pub quantum_secret: String,
}
Fields§
§index: u64
§timestamp: u64
§previous_hash: String
§hash: String
§quantum_hash: String
§data: String
§quantum_secret: String
Implementations§
Source§impl QuantumBlock
impl QuantumBlock
Trait Implementations§
Source§impl Debug for QuantumBlock
impl Debug for QuantumBlock
Source§impl<'de> Deserialize<'de> for QuantumBlock
impl<'de> Deserialize<'de> for QuantumBlock
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
Auto Trait Implementations§
impl Freeze for QuantumBlock
impl RefUnwindSafe for QuantumBlock
impl Send for QuantumBlock
impl Sync for QuantumBlock
impl Unpin for QuantumBlock
impl UnwindSafe for QuantumBlock
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more