pub fn body_has_subject(body: &Value) -> bool
Returns true when body names a subject the caller can run — either a bare ViewDefinition resource or a Parameters body carrying one of the three subject parameters.
true
body
ViewDefinition
Parameters