pub struct GenesisBlock {
pub index: u32,
pub timestamp: u64,
pub previous_hash: String,
pub hash: String,
pub data: String,
}Fields§
§index: u32§timestamp: u64§previous_hash: String§hash: String§data: StringTrait Implementations§
Auto Trait Implementations§
impl Freeze for GenesisBlock
impl RefUnwindSafe for GenesisBlock
impl Send for GenesisBlock
impl Sync for GenesisBlock
impl Unpin for GenesisBlock
impl UnwindSafe for GenesisBlock
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