Struct Extracted Variable
Generated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-ffi.
pub struct ExtractedVariable {
pub pattern_name: String,
pub original_value: String,
pub byte_offset: usize,
pub byte_length: usize,
pub category: VariableCategory,
}
One extracted variable occurrence within a prompt block.
Fields
pattern_name: String
Name of the pattern that matched this value.
original_value: String
Original matched value before replacement.
byte_offset: usize
Byte offset of the match in the original content.
byte_length: usize
Byte length of the original match.
category: VariableCategory
Semantic category assigned to the variable.
Trait Implementations
impl Clone for ExtractedVariable
impl Clone for ExtractedVariable
clone
fn clone(&self) -> ExtractedVariable
clone_from
fn clone_from(&mut self, source: &Self)
impl Debug for ExtractedVariable
impl Debug for ExtractedVariable
fmt
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl<'de> Deserialize<'de> for ExtractedVariable
impl<'de> Deserialize<'de> for ExtractedVariable
deserialize
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl PartialEq for ExtractedVariable
impl PartialEq for ExtractedVariable
eq
fn eq(&self, other: &ExtractedVariable) -> bool
ne
fn ne(&self, other: &Rhs) -> bool
impl Serialize for ExtractedVariable
impl Serialize for ExtractedVariable
serialize
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where
__S: Serializer,
impl Eq for ExtractedVariable
impl Eq for ExtractedVariable
impl StructuralPartialEq for ExtractedVariable
impl StructuralPartialEq for ExtractedVariable