{"action":"opened","issue":{"url":"https://api.github.com/repos/adamgreig/airspy-rs/issues/1","labels_url":"https://api.github.com/repos/adamgreig/airspy-rs/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/adamgreig/airspy-rs/issues/1/comments","events_url":"https://api.github.com/repos/adamgreig/airspy-rs/issues/1/events","html_url":"https://github.com/adamgreig/airspy-rs/issues/1","id":103934350,"number":1,"title":"Setting sample rates by index is a bit weird","user":{"login":"adamgreig","id":47219,"avatar_url":"https://avatars.githubusercontent.com/u/47219?v=3","gravatar_id":"","url":"https://api.github.com/users/adamgreig","html_url":"https://github.com/adamgreig","followers_url":"https://api.github.com/users/adamgreig/followers","following_url":"https://api.github.com/users/adamgreig/following{/other_user}","gists_url":"https://api.github.com/users/adamgreig/gists{/gist_id}","starred_url":"https://api.github.com/users/adamgreig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamgreig/subscriptions","organizations_url":"https://api.github.com/users/adamgreig/orgs","repos_url":"https://api.github.com/users/adamgreig/repos","events_url":"https://api.github.com/users/adamgreig/events{/privacy}","received_events_url":"https://api.github.com/users/adamgreig/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-30T16:59:28Z","updated_at":"2015-08-30T16:59:28Z","closed_at":null,"body":"It would be nicer to take a u32 and then go through the available rates to set it or return an error."}}