pub enum CallbackInstruction {
ExecuteCallback {
instruction: Instruction,
},
}Expand description
Instruction(s) for Callback Executor builtin-program
Variants§
ExecuteCallback
Executes a callback
§Account references
- 0.
[SIGNER]Validator authority - 1.
[]Callback signer PDA - 2..n
[]Accounts required by the embedded instructions
Fields
§
instruction: InstructionTrait Implementations§
Source§impl Clone for CallbackInstruction
impl Clone for CallbackInstruction
Source§fn clone(&self) -> CallbackInstruction
fn clone(&self) -> CallbackInstruction
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CallbackInstruction
impl Debug for CallbackInstruction
Source§impl<'de> Deserialize<'de> for CallbackInstruction
impl<'de> Deserialize<'de> for CallbackInstruction
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for CallbackInstruction
impl PartialEq for CallbackInstruction
Source§fn eq(&self, other: &CallbackInstruction) -> bool
fn eq(&self, other: &CallbackInstruction) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CallbackInstruction
impl Serialize for CallbackInstruction
impl Eq for CallbackInstruction
impl StructuralPartialEq for CallbackInstruction
Auto Trait Implementations§
impl Freeze for CallbackInstruction
impl RefUnwindSafe for CallbackInstruction
impl Send for CallbackInstruction
impl Sync for CallbackInstruction
impl Unpin for CallbackInstruction
impl UnsafeUnpin for CallbackInstruction
impl UnwindSafe for CallbackInstruction
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more