Struct clockwork_utils::ExecResponse
source · [−]pub struct ExecResponse {
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
sourceimpl BorshDeserialize for ExecResponsewhere
Option<InstructionData>: BorshDeserialize,
Option<InstructionData>: BorshDeserialize,
impl BorshDeserialize for ExecResponsewhere
Option<InstructionData>: BorshDeserialize,
Option<InstructionData>: 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 ExecResponsewhere
Option<InstructionData>: BorshSerialize,
Option<InstructionData>: BorshSerialize,
impl BorshSerialize for ExecResponsewhere
Option<InstructionData>: BorshSerialize,
Option<InstructionData>: BorshSerialize,
sourceimpl Clone for ExecResponse
impl Clone for ExecResponse
sourcefn clone(&self) -> ExecResponse
fn clone(&self) -> ExecResponse
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for ExecResponse
impl Debug for ExecResponse
Auto Trait Implementations
impl RefUnwindSafe for ExecResponse
impl Send for ExecResponse
impl Sync for ExecResponse
impl Unpin for ExecResponse
impl UnwindSafe for ExecResponse
Blanket Implementations
impl<T> AbiExample for T
impl<T> AbiExample for T
default fn example() -> T
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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