pub struct IdlInstructionDescriptor {
pub name: &'static str,
pub tag: u8,
pub args: &'static [ArgDescriptor],
pub accounts: &'static [IdlAccountEntry],
}Expand description
IDL instruction descriptor.
Fields§
§name: &'static strInstruction name.
tag: u8Discriminator tag.
args: &'static [ArgDescriptor]Arguments.
accounts: &'static [IdlAccountEntry]Accounts with PDA metadata.
Trait Implementations§
Source§impl Clone for IdlInstructionDescriptor
impl Clone for IdlInstructionDescriptor
Source§fn clone(&self) -> IdlInstructionDescriptor
fn clone(&self) -> IdlInstructionDescriptor
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 moreimpl Copy for IdlInstructionDescriptor
Auto Trait Implementations§
impl Freeze for IdlInstructionDescriptor
impl RefUnwindSafe for IdlInstructionDescriptor
impl Send for IdlInstructionDescriptor
impl Sync for IdlInstructionDescriptor
impl Unpin for IdlInstructionDescriptor
impl UnsafeUnpin for IdlInstructionDescriptor
impl UnwindSafe for IdlInstructionDescriptor
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