Expand description
The event which allowed a particular transaction thread to be triggered.
Variants§
Account
A running hash of the observed account data.
Cron
A cron execution context.
Immediate
The immediate trigger context.
Trait Implementations§
source§impl BorshDeserialize for TriggerContextwhere
u64: BorshDeserialize,
i64: BorshDeserialize,
impl BorshDeserialize for TriggerContextwhere
u64: BorshDeserialize,
i64: BorshDeserialize,
source§impl BorshSerialize for TriggerContextwhere
u64: BorshSerialize,
i64: BorshSerialize,
impl BorshSerialize for TriggerContextwhere
u64: BorshSerialize,
i64: BorshSerialize,
source§impl Clone for TriggerContext
impl Clone for TriggerContext
source§fn clone(&self) -> TriggerContext
fn clone(&self) -> TriggerContext
Returns a copy 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 moresource§impl Debug for TriggerContext
impl Debug for TriggerContext
source§impl Hash for TriggerContext
impl Hash for TriggerContext
source§impl PartialEq<TriggerContext> for TriggerContext
impl PartialEq<TriggerContext> for TriggerContext
source§fn eq(&self, other: &TriggerContext) -> bool
fn eq(&self, other: &TriggerContext) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.