pub struct MinerCreateEvent {
pub authority: Pubkey,
pub quarry: Pubkey,
pub miner: Pubkey,
}
Expand description
Triggered when a new miner is created.
Quarry the miner was created on.
impl BorshDeserialize for MinerCreateEvent where
Pubkey: BorshDeserialize,
Pubkey: BorshDeserialize,
Pubkey: BorshDeserialize,
Deserializes this instance from a given slice of bytes.
Updates the buffer to point at the remaining bytes. Read more
Deserialize this instance from a slice of bytes.
impl BorshSerialize for MinerCreateEvent where
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Serialize this instance into a vector of bytes.
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.
impl<V, T> VZip<V> for T where
V: MultiLane<T>,