pub struct SwapV2Instruction {
pub accounts: Vec<SwapV2InstructionAccountsItem>,
pub data: String,
pub program_id: String,
}Fields§
§accounts: Vec<SwapV2InstructionAccountsItem>§data: StringBase64-encoded instruction data
program_id: StringProgram executing the instruction
Trait Implementations§
Source§impl Clone for SwapV2Instruction
impl Clone for SwapV2Instruction
Source§fn clone(&self) -> SwapV2Instruction
fn clone(&self) -> SwapV2Instruction
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 moreSource§impl Debug for SwapV2Instruction
impl Debug for SwapV2Instruction
Source§impl<'de> Deserialize<'de> for SwapV2Instruction
impl<'de> Deserialize<'de> for SwapV2Instruction
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SwapV2Instruction
impl RefUnwindSafe for SwapV2Instruction
impl Send for SwapV2Instruction
impl Sync for SwapV2Instruction
impl Unpin for SwapV2Instruction
impl UnsafeUnpin for SwapV2Instruction
impl UnwindSafe for SwapV2Instruction
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