pub trait WorkspaceRecordActions {
// Required methods
fn apps(&self) -> Vec<String>;
fn invoke(
&self,
app: &str,
action: &str,
arguments: Map<String, Value>,
done: Box<dyn FnOnce(ActionAnswer)>,
);
// Provided method
fn open(&self, url: &str) { ... }
}Expand description
How a host asks the workspace’s host to run an action of a workspace record for the person, on the web and natively alike.
Required Methods§
Sourcefn apps(&self) -> Vec<String>
fn apps(&self) -> Vec<String>
The apps whose workspace record this workspace holds and may publish the read
(READ_ACTION): the workspace’s connectors (connector_apps).