mirror of
https://github.com/d0zingcat/ore.git
synced 2026-05-14 15:10:13 +00:00
14 lines
253 B
Rust
14 lines
253 B
Rust
use bytemuck::{Pod, Zeroable};
|
|
|
|
use crate::utils::impl_to_bytes;
|
|
|
|
#[repr(C)]
|
|
#[derive(Clone, Copy, Debug, PartialEq, Pod, Zeroable)]
|
|
pub struct MineEvent {
|
|
pub difficulty: u64,
|
|
pub reward: u64,
|
|
pub timing: i64,
|
|
}
|
|
|
|
impl_to_bytes!(MineEvent);
|