pub struct NotifyDefinition {
pub name: String,
pub channel: String,
pub to_secret: String,
pub to_is_secret: bool,
pub template: String,
pub window: String,
pub provenance: String,
pub effects: Option<EffectRow>,
pub loc: Loc,
pub leading_trivia: Vec<Trivia>,
pub trailing_trivia: Vec<Trivia>,
}Expand description
§Fase 110 — Governed Human Notification: the third egress dual
(deliver = systems of record, document = artifacts, notify =
human attention). Three laws: T933 (the evidence barrier — a guess
reaches a human labeled as a guess, or is refused), T934 (structure:
closed channel catalog; the recipient is a §94 secret-class ref,
NEVER a literal — PII never rides source or IR), T935 (attention:
a window: is mandatory — unbounded interruption is refused).
Fields§
§name: String§channel: Stringsms | whatsapp | telegram — closed catalog (axon-T934).
to_secret: StringThe §94 secret-class ref the recipient resolves from AT DISPATCH
(to: secret(ops.oncall_phone)). The literal number/chat-id never
appears anywhere axon stores or reasons over.
to_is_secret: boolTrue iff to: was written in the secret(...) form. A literal
recipient is an axon-T934 refusal (with a teaching message).
template: StringThe message template; ${ref} slots bind flow values post-run.
window: String§71-style duration (30m, 4h, 1d) — at-most-once-per-window
per recipient (axon-T935; enforced durably by the ENT ledger).
provenance: Stringattached | cleared — how epistemic labels cross to the human
(D110.2). Empty ⇒ attached (the safe default).
effects: Option<EffectRow>Must include web (a notification crosses the trust boundary).
loc: Loc§leading_trivia: Vec<Trivia>§trailing_trivia: Vec<Trivia>Trait Implementations§
Source§impl Debug for NotifyDefinition
impl Debug for NotifyDefinition
Source§impl Default for NotifyDefinition
impl Default for NotifyDefinition
Source§fn default() -> NotifyDefinition
fn default() -> NotifyDefinition
Auto Trait Implementations§
impl Freeze for NotifyDefinition
impl RefUnwindSafe for NotifyDefinition
impl Send for NotifyDefinition
impl Sync for NotifyDefinition
impl Unpin for NotifyDefinition
impl UnsafeUnpin for NotifyDefinition
impl UnwindSafe for NotifyDefinition
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
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