pub struct BlockParseResult {
pub block_hash: [u8; 64],
pub block_producer: [u8; 32],
pub transactions: Vec<Vec<u8>>,
}Expand description
Result structure for block parsing with cryptographic verification
Fields§
§block_hash: [u8; 64]§block_producer: [u8; 32]§transactions: Vec<Vec<u8>>Trait Implementations§
Source§impl Clone for BlockParseResult
impl Clone for BlockParseResult
Source§fn clone(&self) -> BlockParseResult
fn clone(&self) -> BlockParseResult
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for BlockParseResult
impl RefUnwindSafe for BlockParseResult
impl Send for BlockParseResult
impl Sync for BlockParseResult
impl Unpin for BlockParseResult
impl UnwindSafe for BlockParseResult
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