pub struct CodamaInstruction {
pub name: &'static str,
pub discriminator: u8,
pub args: &'static [ArgDescriptor],
pub accounts: &'static [IdlAccountEntry],
}Expand description
Codama-compatible instruction descriptor.
Only the fields needed for Codama/Kinobi IDL generation.
Fields§
§name: &'static str§discriminator: u8§args: &'static [ArgDescriptor]§accounts: &'static [IdlAccountEntry]Trait Implementations§
Source§impl Clone for CodamaInstruction
impl Clone for CodamaInstruction
Source§fn clone(&self) -> CodamaInstruction
fn clone(&self) -> CodamaInstruction
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 CodamaInstruction
Auto Trait Implementations§
impl Freeze for CodamaInstruction
impl RefUnwindSafe for CodamaInstruction
impl Send for CodamaInstruction
impl Sync for CodamaInstruction
impl Unpin for CodamaInstruction
impl UnsafeUnpin for CodamaInstruction
impl UnwindSafe for CodamaInstruction
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