set rust languge for travis
update for travis build
update travis build
add accessors for PmDeviceInfo input & output