fix error: must use 'struct' tag to refer to type 'RimeApi'.