pub fn resource_type<'a>(
object: &'a Object,
path: &Path,
) -> Result<&'a str, DecodeError>Expand description
The resourceType of an object, for dispatch.
ยงErrors
Returns DecodeError when the property is absent or not a string.
pub fn resource_type<'a>(
object: &'a Object,
path: &Path,
) -> Result<&'a str, DecodeError>The resourceType of an object, for dispatch.
Returns DecodeError when the property is absent or not a string.