pub struct AnchorInstruction {
pub name: String,
pub discriminator: [u8; 8],
}Expand description
An IDL defined instruction
Fields§
§name: StringName of the Instruction
discriminator: [u8; 8]The discriminant of the instruction
Trait Implementations§
Source§impl Debug for AnchorInstruction
impl Debug for AnchorInstruction
Source§impl<'de> Deserialize<'de> for AnchorInstruction
impl<'de> Deserialize<'de> for AnchorInstruction
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 AnchorInstruction
impl PartialEq for AnchorInstruction
Source§impl PartialOrd for AnchorInstruction
impl PartialOrd for AnchorInstruction
impl StructuralPartialEq for AnchorInstruction
Auto Trait Implementations§
impl Freeze for AnchorInstruction
impl RefUnwindSafe for AnchorInstruction
impl Send for AnchorInstruction
impl Sync for AnchorInstruction
impl Unpin for AnchorInstruction
impl UnwindSafe for AnchorInstruction
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