pub struct Notice {
pub title: String,
pub why: Option<String>,
pub call: Option<String>,
pub detail: Option<String>,
pub next: Option<String>,
pub unasked: Option<String>,
}Expand description
The words of the block message for one decision (ADR-059): filled by the
program that answers the host from the deciding rule’s title and why
and the call, already made safe to show (secrets masked, one line each).
Fields§
§title: StringThe deciding rule’s title: “reading your SSH private key”.
why: Option<String>The deciding rule’s why, when it has one.
call: Option<String>The call as the person would describe it: a command, or a tool and
what it names (Read ~/.ssh/id_ed25519).
detail: Option<String>The decision’s reasons as they may be shown, in place of
Decision::reasons in the message.
next: Option<String>The person’s one step, where the deciding check has its own for this
verdict (“run openmoat doctor in your terminal to see what
changed”); None for the verdict’s own step.
unasked: Option<String>Set where a review reaches a host that cannot put it to the person,
as a deny: why it cannot (“Codex hooks cannot prompt”).