Struct quarry_merge_mine::events::UnstakePrimaryEvent
source · [−]pub struct UnstakePrimaryEvent {
pub pool: Pubkey,
pub mm: Pubkey,
pub miner: Pubkey,
pub owner: Pubkey,
pub amount: u64,
}
Expand description
Emitted when tokens are unstaked from the primary quarry_mine::Miner.
Fields
pool: Pubkey
The MergePool.
mm: Pubkey
The MergeMiner.
miner: Pubkey
The quarry_mine::Miner.
owner: Pubkey
The owner of the MergeMiner.
amount: u64
Amount unstaked.
Trait Implementations
sourceimpl BorshDeserialize for UnstakePrimaryEvent where
Pubkey: BorshDeserialize,
Pubkey: BorshDeserialize,
Pubkey: BorshDeserialize,
Pubkey: BorshDeserialize,
u64: BorshDeserialize,
impl BorshDeserialize for UnstakePrimaryEvent where
Pubkey: BorshDeserialize,
Pubkey: BorshDeserialize,
Pubkey: BorshDeserialize,
Pubkey: BorshDeserialize,
u64: BorshDeserialize,
sourcefn deserialize(buf: &mut &[u8]) -> Result<Self, Error>
fn deserialize(buf: &mut &[u8]) -> Result<Self, Error>
Deserializes this instance from a given slice of bytes. Updates the buffer to point at the remaining bytes. Read more
fn try_from_slice(v: &[u8]) -> Result<Self, Error>
fn try_from_slice(v: &[u8]) -> Result<Self, Error>
Deserialize this instance from a slice of bytes.
sourceimpl BorshSerialize for UnstakePrimaryEvent where
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
u64: BorshSerialize,
impl BorshSerialize for UnstakePrimaryEvent where
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
u64: BorshSerialize,
sourceimpl Discriminator for UnstakePrimaryEvent
impl Discriminator for UnstakePrimaryEvent
fn discriminator() -> [u8; 8]
Auto Trait Implementations
impl RefUnwindSafe for UnstakePrimaryEvent
impl Send for UnstakePrimaryEvent
impl Sync for UnstakePrimaryEvent
impl Unpin for UnstakePrimaryEvent
impl UnwindSafe for UnstakePrimaryEvent
Blanket Implementations
impl<T> AbiExample for T
impl<T> AbiExample for T
default fn example() -> T
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more