Struct nitrokey::PasswordSlot [−][src]
A slot of a PasswordSafe
.
Implementations
impl<'p, 'a, 'b> PasswordSlot<'p, 'a, 'b>
[src]
pub fn index(&self) -> u8
[src]
Returns the index of this PWS slot.
pub fn get_name(&self) -> Result<String, Error>
[src]
Returns the name stored in this PWS slot.
pub fn get_login(&self) -> Result<String, Error>
[src]
Returns the login stored in this PWS slot.
pub fn get_password(&self) -> Result<String, Error>
[src]
Returns the password stored in this PWS slot.
Trait Implementations
impl<'p, 'a, 'b> Clone for PasswordSlot<'p, 'a, 'b>
[src]
fn clone(&self) -> PasswordSlot<'p, 'a, 'b>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'p, 'a, 'b> Copy for PasswordSlot<'p, 'a, 'b>
[src]
impl<'p, 'a, 'b> Debug for PasswordSlot<'p, 'a, 'b>
[src]
Auto Trait Implementations
impl<'p, 'a, 'b> !RefUnwindSafe for PasswordSlot<'p, 'a, 'b>
impl<'p, 'a, 'b> !Send for PasswordSlot<'p, 'a, 'b>
impl<'p, 'a, 'b> !Sync for PasswordSlot<'p, 'a, 'b>
impl<'p, 'a, 'b> Unpin for PasswordSlot<'p, 'a, 'b> where
'a: 'p,
'b: 'p,
'a: 'p,
'b: 'p,
impl<'p, 'a, 'b> !UnwindSafe for PasswordSlot<'p, 'a, 'b>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,