pub struct TemplateBundleConfig {
pub limits: ExternalTemplateLimitsConfig,
pub render_limits: MinijinjaLimitsConfig,
}Expand description
Operator-facing [components.template] block: two independent limit layers.
limits→ExternalTemplateLimitsConfig(acquisition bounds: closure size, include count/depth, template size, reload timeout).render-limits→MinijinjaLimitsConfig(render-time bounds: source, context, output size, fuel, recursion, execution timeout).
Both are #[serde(default)], so a missing sub-table falls back to the
per-struct defaults (ADR-0047 §4.1).
Fields§
§limits: ExternalTemplateLimitsConfigAcquisition limits applied while building the template closure.
render_limits: MinijinjaLimitsConfigRender limits applied per render inside the MiniJinja environment.
Trait Implementations§
Source§impl Debug for TemplateBundleConfig
impl Debug for TemplateBundleConfig
Source§impl Default for TemplateBundleConfig
impl Default for TemplateBundleConfig
Source§fn default() -> TemplateBundleConfig
fn default() -> TemplateBundleConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TemplateBundleConfig
impl<'de> Deserialize<'de> for TemplateBundleConfig
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
Auto Trait Implementations§
impl Freeze for TemplateBundleConfig
impl RefUnwindSafe for TemplateBundleConfig
impl Send for TemplateBundleConfig
impl Sync for TemplateBundleConfig
impl Unpin for TemplateBundleConfig
impl UnsafeUnpin for TemplateBundleConfig
impl UnwindSafe for TemplateBundleConfig
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