Struct clockwork_thread_program::state::ThreadResponse
source · pub struct ThreadResponse {
pub kickoff_instruction: Option<InstructionData>,
pub next_instruction: Option<InstructionData>,
}
Expand description
A response value target programs can return to update the thread.
Fields§
§kickoff_instruction: Option<InstructionData>
The kickoff instruction to use on the next triggering of the thread. If none, the kickoff instruction remains unchanged.
next_instruction: Option<InstructionData>
The next instruction to use on the next execution of the thread.
Trait Implementations§
source§impl BorshDeserialize for ThreadResponsewhere
Option<InstructionData>: BorshDeserialize,
impl BorshDeserialize for ThreadResponsewhere
Option<InstructionData>: BorshDeserialize,
source§impl BorshSerialize for ThreadResponsewhere
Option<InstructionData>: BorshSerialize,
impl BorshSerialize for ThreadResponsewhere
Option<InstructionData>: BorshSerialize,
source§impl Clone for ThreadResponse
impl Clone for ThreadResponse
source§fn clone(&self) -> ThreadResponse
fn clone(&self) -> ThreadResponse
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