pub struct InstructionArgumentV1 {
pub name: String,
pub arg_type: String,
pub docs: Vec<String>,
pub amount_hint: Option<InstructionAmountHintV1>,
}Fields§
§name: String§arg_type: String§docs: Vec<String>§amount_hint: Option<InstructionAmountHintV1>Trait Implementations§
Source§impl Clone for InstructionArgumentV1
impl Clone for InstructionArgumentV1
Source§fn clone(&self) -> InstructionArgumentV1
fn clone(&self) -> InstructionArgumentV1
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 InstructionArgumentV1
impl Debug for InstructionArgumentV1
Source§impl<'de> Deserialize<'de> for InstructionArgumentV1
impl<'de> Deserialize<'de> for InstructionArgumentV1
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
Source§impl PartialEq for InstructionArgumentV1
impl PartialEq for InstructionArgumentV1
Source§impl Serialize for InstructionArgumentV1
impl Serialize for InstructionArgumentV1
impl StructuralPartialEq for InstructionArgumentV1
Auto Trait Implementations§
impl Freeze for InstructionArgumentV1
impl RefUnwindSafe for InstructionArgumentV1
impl Send for InstructionArgumentV1
impl Sync for InstructionArgumentV1
impl Unpin for InstructionArgumentV1
impl UnsafeUnpin for InstructionArgumentV1
impl UnwindSafe for InstructionArgumentV1
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