Skip to main content

chosen_origin

Function chosen_origin 

Source
pub fn chosen_origin(result: &Result<Value, String>) -> Origin
Expand description

Who answered a choice, from its result: the user (the picker, the system’s chooser, a plugin’s) unless an agent or a script answered it through the debug bridge. A consumer that should act only on a person’s choice checks it.