pub struct ContentExtractionIntent {
pub block_id: String,
pub variable_pattern: String,
pub extraction_strategy: String,
pub scope_label: SharingScope,
}Expand description
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: StringIdentifier of the prompt block containing the variable content.
variable_pattern: StringPattern describing the variable content (e.g., regex or template syntax).
extraction_strategy: StringStrategy for extracting the variable content.
scope_label: SharingScopeSharing scope for the extracted template.
Trait Implementations§
Source§impl Clone for ContentExtractionIntent
impl Clone for ContentExtractionIntent
Source§fn clone(&self) -> ContentExtractionIntent
fn clone(&self) -> ContentExtractionIntent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ContentExtractionIntent
impl Debug for ContentExtractionIntent
Source§impl<'de> Deserialize<'de> for ContentExtractionIntent
impl<'de> Deserialize<'de> for ContentExtractionIntent
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
Source§impl PartialEq for ContentExtractionIntent
impl PartialEq for ContentExtractionIntent
Source§fn eq(&self, other: &ContentExtractionIntent) -> bool
fn eq(&self, other: &ContentExtractionIntent) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ContentExtractionIntent
impl Serialize for ContentExtractionIntent
impl StructuralPartialEq for ContentExtractionIntent
Auto Trait Implementations§
impl Freeze for ContentExtractionIntent
impl RefUnwindSafe for ContentExtractionIntent
impl Send for ContentExtractionIntent
impl Sync for ContentExtractionIntent
impl Unpin for ContentExtractionIntent
impl UnsafeUnpin for ContentExtractionIntent
impl UnwindSafe for ContentExtractionIntent
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