pub fn extract_required_rights<T>( in_obj: &T, keyword: &str, ) -> Result<Operations, Error>where T: RightsClause,