Function resource
pub fn resource(
kind: &str,
label: &str,
action_id: &str,
action_label: &str,
) -> ResourceExpand description
Build one resource with a unit operation.
§Panics
Panics only if serializing Rust’s unit value fails, which the JSON encoder
represents unconditionally as null.