Struct AnchorInstruction
pub struct AnchorInstruction {
pub anchor: String,
pub instructions: IndexMap<String, InstructionValue>,
}Expand description
An anchor instruction (/api/anchor/).
Fields§
§anchor: StringThe anchor name which triggers the instructions.
instructions: IndexMap<String, InstructionValue>The instructions to trigger, keyed by their identifier.
Trait Implementations§
§impl Clone for AnchorInstruction
impl Clone for AnchorInstruction
§fn clone(&self) -> AnchorInstruction
fn clone(&self) -> AnchorInstruction
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 more§impl Debug for AnchorInstruction
impl Debug for AnchorInstruction
§impl<'de> Deserialize<'de> for AnchorInstruction
impl<'de> Deserialize<'de> for AnchorInstruction
§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
§impl PartialEq for AnchorInstruction
impl PartialEq for AnchorInstruction
§impl Serialize for AnchorInstruction
impl Serialize 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