Function oas_common::util::split_and_check_guid
source · [−]pub fn split_and_check_guid<T: TypedValue>(
guid: &str
) -> Result<(String, String), DecodingError>
Expand description
Split a guid into type and id parts and check the type against a TypedValue, i.e. check if the type string equals TypedValue::NAME.