solana_message/
inner_instruction.rs1use {crate::compiled_instruction::CompiledInstruction, alloc::vec::Vec};
2
3#[derive(Clone, Debug, PartialEq, Eq)]
4#[cfg_attr(
5 feature = "serde",
6 derive(serde_derive::Deserialize, serde_derive::Serialize),
7 serde(rename_all = "camelCase")
8)]
9pub struct InnerInstruction {
10 pub instruction: CompiledInstruction,
11 pub stack_height: u8,
14}
15
16pub type InnerInstructions = Vec<InnerInstruction>;
19
20pub type InnerInstructionsList = Vec<InnerInstructions>;