pub struct RouteYaml {
pub policy: Vec<Value>,
pub post_policy: Vec<Value>,
pub args: HashMap<String, String>,
pub result: HashMap<String, String>,
pub plugins: HashMap<String, PluginOverride>,
pub other: HashMap<String, Value>,
}Fields§
§policy: Vec<Value>Each entry is either a string (rule / plugin / taint) or a
single-key map (PDP call with reactions). See parse_step.
post_policy: Vec<Value>§args: HashMap<String, String>args: field → pipe-chain string. Compiled to per-field pipelines.
result: HashMap<String, String>result: field → pipe-chain string. Compiled to per-field pipelines.
plugins: HashMap<String, PluginOverride>Per-route plugin overrides — only the spec-overridable keys
(config / capabilities / on_error). Merged on top of the root
plugins: declaration at dispatch time.
other: HashMap<String, Value>Anything else on the route (meta, taint, when) — stashed.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RouteYaml
impl<'de> Deserialize<'de> for RouteYaml
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 RouteYaml
impl RefUnwindSafe for RouteYaml
impl Send for RouteYaml
impl Sync for RouteYaml
impl Unpin for RouteYaml
impl UnsafeUnpin for RouteYaml
impl UnwindSafe for RouteYaml
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