Skip to main content

InstructionPart

Type Alias InstructionPart 

Source
pub type InstructionPart = PreparedInstruction;
Expand description

Alias for structured instruction parts.

Aliased Type§

pub struct InstructionPart {
    pub text: String,
    pub dynamic: bool,
    pub metadata: Map<String, Value>,
}

Fields§

§text: String

Instruction text.

§dynamic: bool

Whether this instruction came from a dynamic source.

§metadata: Map<String, Value>

Instruction metadata.