Enum clockwork_sdk::state::TriggerContext
source · 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§fn deserialize(buf: &mut &[u8]) -> Result<TriggerContext, Error>
fn deserialize(buf: &mut &[u8]) -> Result<TriggerContext, 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.
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 more