[−][src]Enum rust_keylock::UserSelection
Represents a User selection that is returned after showing a Menu
.
Variants
NewEntry(Entry)
The User selected an Entry
.
ReplaceEntry(usize, Entry)
The User updated an Entry
.
DeleteEntry(usize)
The User deleted an Entry
.
GoTo(Menu)
The User selected to go to a Menu
.
ProvidedPassword(String, usize)
The User provided a password and a number.
Ack
The User acknowledges something.
ExportTo(String)
The User selected to export the password Entries
to a path.
ImportFrom(String, String, usize)
The User selected to import the password Entries
from a path.
ImportFromDefaultLocation(String, String, usize)
The User selected to import the password Entries
from a file in the default location.
UserOption(UserOption)
The User may be offered to select one of the Options.
UpdateConfiguration(NextcloudConfiguration)
The User updates the configuration.
AddToClipboard(String)
The user copies content to the clipboard.
Methods
impl UserSelection
[src]
pub fn is_same_variant_with(&self, other: &UserSelection) -> bool
[src]
Trait Implementations
impl PartialEq<UserSelection> for UserSelection
[src]
fn eq(&self, other: &UserSelection) -> bool
[src]
fn ne(&self, other: &UserSelection) -> bool
[src]
impl Clone for UserSelection
[src]
fn clone(&self) -> UserSelection
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for UserSelection
[src]
Auto Trait Implementations
impl Send for UserSelection
impl Sync for UserSelection
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Erased for T
impl<T> Same for T
type Output = T
Should always be Self