diff options
author | Robin Krahl <robin.krahl@ireas.org> | 2018-05-22 08:55:45 +0000 |
---|---|---|
committer | Robin Krahl <robin.krahl@ireas.org> | 2018-05-22 10:57:28 +0200 |
commit | 2c31912bd2f8731c146da6640e28896c9de6286a (patch) | |
tree | a30eafed93f41667f342a72e25fb6f70c4b95254 /src/device.rs | |
parent | a9657c48c8c92f6c82834a2abd90e27904e2cf6b (diff) | |
download | nitrokey-rs-2c31912bd2f8731c146da6640e28896c9de6286a.tar.gz nitrokey-rs-2c31912bd2f8731c146da6640e28896c9de6286a.tar.bz2 |
Improve OtpSlotData constructor / builder
Firstly, use Into<String> instead of String::from(&str). Secondly, add
methods to set the two arguments not set in the constructor.
Diffstat (limited to 'src/device.rs')
0 files changed, 0 insertions, 0 deletions