A structural model of direct measurement