[][src]Struct meli::conf::shortcuts::ContactListShortcuts

pub struct ContactListShortcuts {
    pub scroll_up: Key,
    pub scroll_down: Key,
    pub create_contact: Key,
    pub edit_contact: Key,
    pub mail_contact: Key,
    pub next_account: Key,
    pub prev_account: Key,
    pub toggle_menu_visibility: Key,
}

Shortcut listing for the contact list view

Fields

scroll_up: Keyscroll_down: Keycreate_contact: Keyedit_contact: Keymail_contact: Keynext_account: Keyprev_account: Keytoggle_menu_visibility: Key

Implementations

impl ContactListShortcuts[src]

pub fn key_desc(&self, key: &str) -> &'static str[src]

Returns a shortcut's description

pub fn key_values(&self) -> IndexMap<&'static str, Key>[src]

Returns a hashmap of all shortcuts and their values

Trait Implementations

impl Clone for ContactListShortcuts[src]

impl Debug for ContactListShortcuts[src]

impl Default for ContactListShortcuts[src]

impl<'de> Deserialize<'de> for ContactListShortcuts where
    ContactListShortcuts: Default
[src]

impl DotAddressable for ContactListShortcuts[src]

impl Serialize for ContactListShortcuts[src]

Auto Trait Implementations

impl RefUnwindSafe for ContactListShortcuts

impl Send for ContactListShortcuts

impl Sync for ContactListShortcuts

impl Unpin for ContactListShortcuts

impl UnwindSafe for ContactListShortcuts

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]