pub struct InstructionNode {
pub name: CamelCaseString,
pub docs: Docs,
pub optional_account_strategy: InstructionOptionalAccountStrategy,
pub accounts: Vec<InstructionAccountNode>,
pub arguments: Vec<InstructionArgumentNode>,
pub extra_arguments: Vec<InstructionArgumentNode>,
pub remaining_accounts: Vec<InstructionRemainingAccountsNode>,
pub byte_deltas: Vec<InstructionByteDeltaNode>,
pub discriminators: Vec<DiscriminatorNode>,
pub sub_instructions: Vec<InstructionNode>,
}
Fields§
§name: CamelCaseString
§docs: Docs
§optional_account_strategy: InstructionOptionalAccountStrategy
§accounts: Vec<InstructionAccountNode>
§arguments: Vec<InstructionArgumentNode>
§extra_arguments: Vec<InstructionArgumentNode>
§remaining_accounts: Vec<InstructionRemainingAccountsNode>
§byte_deltas: Vec<InstructionByteDeltaNode>
§discriminators: Vec<DiscriminatorNode>
§sub_instructions: Vec<InstructionNode>
Trait Implementations§
Source§impl Clone for InstructionNode
impl Clone for InstructionNode
Source§fn clone(&self) -> InstructionNode
fn clone(&self) -> InstructionNode
Returns a duplicate 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 moreSource§impl Debug for InstructionNode
impl Debug for InstructionNode
Source§impl Default for InstructionNode
impl Default for InstructionNode
Source§fn default() -> InstructionNode
fn default() -> InstructionNode
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InstructionNode
impl<'de> Deserialize<'de> for InstructionNode
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<InstructionNode, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<InstructionNode, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<InstructionNode> for Node
impl From<InstructionNode> for Node
Source§fn from(value: InstructionNode) -> Node
fn from(value: InstructionNode) -> Node
Converts to this type from the input type.
Source§impl HasName for InstructionNode
impl HasName for InstructionNode
fn name(&self) -> &CamelCaseString
Source§impl NodeTrait for InstructionNode
impl NodeTrait for InstructionNode
Source§impl PartialEq for InstructionNode
impl PartialEq for InstructionNode
Source§impl Serialize for InstructionNode
impl Serialize for InstructionNode
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for InstructionNode
Auto Trait Implementations§
impl Freeze for InstructionNode
impl RefUnwindSafe for InstructionNode
impl Send for InstructionNode
impl Sync for InstructionNode
impl Unpin for InstructionNode
impl UnwindSafe for InstructionNode
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