Designing Matching Mechanisms under General Distributional Constraints · Study