pub fn RequestWorkSpaceTrust(
Options: Option<Value>,
) -> ActionEffect<Arc<dyn WorkSpaceProvider>, CommonError, bool>Expand description
Creates an effect that, when executed, will prompt the user to grant or deny trust to the current workspace via a UI dialog.
It uses the WorkSpaceProvider capability from the environment, which in
turn will likely use the UserInterfaceProvider to show the dialog.
§Parameters
Options: An optionalserde_json::Valuethat can contain additional information or options for the trust prompt.
§Returns
An ActionEffect that resolves with a bool indicating whether trust was
granted.