Struct quarry_mine::QuarryCreateEvent
source · [−]pub struct QuarryCreateEvent {
pub token_mint: Pubkey,
pub timestamp: i64,
}
Expand description
Emitted when a new quarry is created.
Fields
token_mint: Pubkey
timestamp: i64
When the event took place.
Trait Implementations
sourceimpl BorshDeserialize for QuarryCreateEvent where
Pubkey: BorshDeserialize,
i64: BorshDeserialize,
impl BorshDeserialize for QuarryCreateEvent where
Pubkey: BorshDeserialize,
i64: 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 QuarryCreateEvent where
Pubkey: BorshSerialize,
i64: BorshSerialize,
impl BorshSerialize for QuarryCreateEvent where
Pubkey: BorshSerialize,
i64: BorshSerialize,
sourceimpl Discriminator for QuarryCreateEvent
impl Discriminator for QuarryCreateEvent
fn discriminator() -> [u8; 8]
Auto Trait Implementations
impl RefUnwindSafe for QuarryCreateEvent
impl Send for QuarryCreateEvent
impl Sync for QuarryCreateEvent
impl Unpin for QuarryCreateEvent
impl UnwindSafe for QuarryCreateEvent
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