Struct Content Extraction Intent

View as Markdown

Generated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-ffi.

pub struct ContentExtractionIntent {
    pub block_id: String,
    pub variable_pattern: String,
    pub extraction_strategy: String,
    pub scope_label: SharingScope,
}

Content extraction intent for variable content detection.

Identifies dynamic regions within a prompt block that can be extracted and templated for cache reuse.

Fields

block_id: String

Identifier of the prompt block containing the variable content.

variable_pattern: String

Pattern describing the variable content (e.g., regex or template syntax).

extraction_strategy: String

Strategy for extracting the variable content.

scope_label: SharingScope

Sharing scope for the extracted template.

Trait Implementations

impl Clone for ContentExtractionIntent

impl Clone for ContentExtractionIntent

clone

fn clone(&self) -> ContentExtractionIntent

clone_from

fn clone_from(&mut self, source: &Self)

impl Debug for ContentExtractionIntent

impl Debug for ContentExtractionIntent

fmt

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl<'de> Deserialize<'de> for ContentExtractionIntent

impl<'de> Deserialize<'de> for ContentExtractionIntent

deserialize

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
    __D: Deserializer<'de>,

impl PartialEq for ContentExtractionIntent

impl PartialEq for ContentExtractionIntent

eq

fn eq(&self, other: &ContentExtractionIntent) -> bool

ne

fn ne(&self, other: &Rhs) -> bool

impl Serialize for ContentExtractionIntent

impl Serialize for ContentExtractionIntent

serialize

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where
    __S: Serializer,

impl StructuralPartialEq for ContentExtractionIntent

impl StructuralPartialEq for ContentExtractionIntent