pub struct SelfSignalDeclaration {
pub name: String,
pub kind: SelfSignalKind,
pub effect: SelfSignalEffect,
pub anchored_to: SignalAnchor,
pub cadence: Option<SignalCadence>,
pub domain: Option<String>,
pub note: Option<String>,
}Expand description
A declared periodic or event-driven behavior that shapes an external surface.
Fields§
§name: StringStable identifier for this declared behavior, such as codex_keepalive.
kind: SelfSignalKindInformative classification only; it never substitutes for effect or
anchored_to when an analyst interprets the declaration.
effect: SelfSignalEffectWhether the signal only observes the surface or changes it.
anchored_to: SignalAnchorWhether the behavior follows its own interval or a surface event boundary.
cadence: Option<SignalCadence>The effective cadence in force at HELLO time.
Use SignalCadence::Literal when a compile-time constant is the
effective value. Use SignalCadence::Derived when configuration or
another runtime input resolves the effective value, naming the source so
the declaration cannot silently drift from that resolution.
domain: Option<String>The external surface this behavior shapes, such as provider-usage.
note: Option<String>Trait Implementations§
Source§impl Clone for SelfSignalDeclaration
impl Clone for SelfSignalDeclaration
Source§fn clone(&self) -> SelfSignalDeclaration
fn clone(&self) -> SelfSignalDeclaration
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more