pub struct InstructionHook {
pub instruction_type: String,
pub actions: Vec<HookAction>,
pub lookup_by: Option<FieldPath>,
}Expand description
Declarative instruction hook specification
Fields§
§instruction_type: StringInstruction type this hook applies to (e.g., “CreateIxState”)
actions: Vec<HookAction>Actions to perform when this instruction is processed
lookup_by: Option<FieldPath>Lookup strategy for finding the entity
Trait Implementations§
Source§impl Clone for InstructionHook
impl Clone for InstructionHook
Source§fn clone(&self) -> InstructionHook
fn clone(&self) -> InstructionHook
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 moreSource§impl Debug for InstructionHook
impl Debug for InstructionHook
Source§impl<'de> Deserialize<'de> for InstructionHook
impl<'de> Deserialize<'de> for InstructionHook
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 InstructionHook
impl RefUnwindSafe for InstructionHook
impl Send for InstructionHook
impl Sync for InstructionHook
impl Unpin for InstructionHook
impl UnwindSafe for InstructionHook
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