Struct Adaptive Hints Component Config

View as Markdown

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

pub struct AdaptiveHintsComponentConfig {
    pub priority: i32,
    pub break_chain: bool,
    pub inject_header: bool,
    pub inject_body_path: String,
}

Typed helper for adaptive hints settings.

Fields

priority: i32

Intercept priority. Lower values run first.

break_chain: bool

Whether later request intercepts should be skipped after this one runs.

inject_header: bool

Whether to inject the adaptive hints header.

inject_body_path: String

JSON path used when injecting request-body hints.

Trait Implementations

impl Clone for AdaptiveHintsComponentConfig

impl Clone for AdaptiveHintsComponentConfig

clone

fn clone(&self) -> AdaptiveHintsComponentConfig

clone_from

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

impl Debug for AdaptiveHintsComponentConfig

impl Debug for AdaptiveHintsComponentConfig

fmt

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

impl Default for AdaptiveHintsComponentConfig

impl Default for AdaptiveHintsComponentConfig

default

fn default() -> Self

impl<'de> Deserialize<'de> for AdaptiveHintsComponentConfig

impl<'de> Deserialize<'de> for AdaptiveHintsComponentConfig

deserialize

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

impl EditorConfig for AdaptiveHintsComponentConfig

impl EditorConfig for AdaptiveHintsComponentConfig

editor_schema

fn editor_schema() -> &'static EditorSchema

impl Serialize for AdaptiveHintsComponentConfig

impl Serialize for AdaptiveHintsComponentConfig

serialize

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