pub struct GenSpec {
pub origin: String,
pub producer: Option<String>,
pub subject: Option<String>,
pub vars: Vec<(String, String)>,
pub rate_hz: Option<f64>,
pub pattern: GenPattern,
pub duration: Duration,
pub seed: u64,
pub tool: String,
pub faults: Vec<Fault>,
}decode only.Expand description
What to generate.
Fields§
§origin: StringThe origin chunk the generated keys claim (h-…). Stated, printed,
and stamped into the marker — impersonation is the feature, and the
marker is what keeps it honest.
producer: Option<String>Only this producer’s subjects (else: every host producer in the set).
subject: Option<String>Only subjects whose declared path contains this.
vars: Vec<(String, String)>{var} values by name; unnamed vars get deterministic synthetic
values (stated in the plan).
rate_hz: Option<f64>Override every entry’s rate (Hz). None = the registry-driven
defaults: telemetry 1 Hz, state ttl/2 refresh, events inside their
declared budget.
pattern: GenPattern§duration: Duration§seed: u64Drives synthesis and jitter — same seed, same run.
tool: StringThe tool name stamped into the marker.
faults: Vec<Fault>Fault kinds to inject (#163). Empty = conforming traffic. Non-empty
expands the plan to one variant per (subject × fault), each carrying a
single fault=<kind> marker and a printable delta — double-guarded at
the CLI edge (--i-know plus an explicit endpoint/--base).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GenSpec
impl RefUnwindSafe for GenSpec
impl Send for GenSpec
impl Sync for GenSpec
impl Unpin for GenSpec
impl UnsafeUnpin for GenSpec
impl UnwindSafe for GenSpec
Blanket Implementations§
Source§impl<Source> AccessAs for Source
impl<Source> AccessAs for Source
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more