pub struct InstructionSignature {
pub discriminator: Vec<u8>,
pub params: Vec<ParamInput>,
pub accounts_names: Vec<String>,
}Expand description
Defines the schema for decoding a Solana instruction: discriminator bytes, parameter types, and account names.
Fields§
§discriminator: Vec<u8>§params: Vec<ParamInput>§accounts_names: Vec<String>Trait Implementations§
Source§impl Clone for InstructionSignature
impl Clone for InstructionSignature
Source§fn clone(&self) -> InstructionSignature
fn clone(&self) -> InstructionSignature
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 moreAuto Trait Implementations§
impl Freeze for InstructionSignature
impl RefUnwindSafe for InstructionSignature
impl Send for InstructionSignature
impl Sync for InstructionSignature
impl Unpin for InstructionSignature
impl UnwindSafe for InstructionSignature
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