pub struct CompiledPackInjectionConfig {
pub source: String,
pub target: String,
pub entity_type: Option<String>,
pub mode: CompiledInjectionMode,
pub priority: i32,
pub max_tokens: Option<i32>,
}Expand description
Pack injection metadata for runtime RAG wiring.
Fields§
§source: String§target: String§entity_type: Option<String>Explicit entity type for injection targeting (e.g., “note”, “artifact”).
mode: CompiledInjectionMode§priority: i32§max_tokens: Option<i32>Trait Implementations§
Source§impl Clone for CompiledPackInjectionConfig
impl Clone for CompiledPackInjectionConfig
Source§fn clone(&self) -> CompiledPackInjectionConfig
fn clone(&self) -> CompiledPackInjectionConfig
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 CompiledPackInjectionConfig
impl Debug for CompiledPackInjectionConfig
Source§impl<'de> Deserialize<'de> for CompiledPackInjectionConfig
impl<'de> Deserialize<'de> for CompiledPackInjectionConfig
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
impl StructuralPartialEq for CompiledPackInjectionConfig
Auto Trait Implementations§
impl Freeze for CompiledPackInjectionConfig
impl RefUnwindSafe for CompiledPackInjectionConfig
impl Send for CompiledPackInjectionConfig
impl Sync for CompiledPackInjectionConfig
impl Unpin for CompiledPackInjectionConfig
impl UnwindSafe for CompiledPackInjectionConfig
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