pub struct DryRunAnnotation {
pub kind: String,
pub message: String,
}Expand description
One observation about the compiled graph, surfaced through
compile_dry_run for operator visibility. Currently used by the
ACME inject pass to mark synthesised :80 challenge routes and
any operator-defined rule whose path overlaps the injected one.
Intentionally schemaless on target — different annotation
kinds describe different things (a listener address, a rule
name, a node id). kind plus message is the human-readable
surface; structured fields can land in a follow-up if a tool
needs them programmatically.
Fields§
§kind: StringAnnotation taxonomy — currently "acme-injected" (a route
the lower pass synthesised) or "shadowed-by-acme" (an
operator rule whose match is preempted by an injected one).
message: StringOperator-readable explanation of the annotation, including the listener address and any relevant identifiers.
Trait Implementations§
Source§impl Clone for DryRunAnnotation
impl Clone for DryRunAnnotation
Source§fn clone(&self) -> DryRunAnnotation
fn clone(&self) -> DryRunAnnotation
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for DryRunAnnotation
impl Debug for DryRunAnnotation
Source§impl<'de> Deserialize<'de> for DryRunAnnotation
impl<'de> Deserialize<'de> for DryRunAnnotation
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>,
Source§impl PartialEq for DryRunAnnotation
impl PartialEq for DryRunAnnotation
Source§fn eq(&self, other: &DryRunAnnotation) -> bool
fn eq(&self, other: &DryRunAnnotation) -> bool
self and other values to be equal, and is used by ==.