Skip to main content

toast_text

Function toast_text 

Source
fn toast_text(
    requester: &str,
    approver: Option<&str>,
    op: &str,
) -> (String, String)
Expand description

What the OS notification says: the title (what will happen, from the operation’s table, not from any request text) and the body (who asked and who approved, by display name). The request’s facts are left out on purpose: a toast also lands in the Action Center and on a lock screen, and a fact can be a path or an address. The banner in AgentMux shows them.