pub struct PlacementControl {
pub canonical_env: &'static str,
pub aliases: &'static [&'static str],
pub flag: Option<&'static str>,
pub kind: ControlKind,
pub value_form: &'static str,
pub description: &'static str,
}Expand description
A single canonical control: its primary env var, accepted aliases, the
equivalent CLI flag (if any), and human/agent-facing value semantics. This
is the registry rch capabilities renders so agents stop discovering knobs
by folklore.
Fields§
§canonical_env: &'static strCanonical environment variable name.
aliases: &'static [&'static str]Accepted aliases (documented, mapped to the canonical control).
flag: Option<&'static str>Equivalent CLI flag, when one exists.
kind: ControlKindWhich family the control belongs to.
value_form: &'static strAccepted value form (e.g. worker id, 0|1, secs).
description: &'static strOne-line description of the effect.
Trait Implementations§
Source§impl Clone for PlacementControl
impl Clone for PlacementControl
impl Copy for PlacementControl
Auto Trait Implementations§
impl Freeze for PlacementControl
impl RefUnwindSafe for PlacementControl
impl Send for PlacementControl
impl Sync for PlacementControl
impl Unpin for PlacementControl
impl UnsafeUnpin for PlacementControl
impl UnwindSafe for PlacementControl
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