pub struct HotKeyInfo {
pub key: String,
pub hits: u64,
pub last_accessed: SystemTime,
}Expand description
Information about a hot key.
Fields§
§key: String§hits: u64§last_accessed: SystemTimeTrait Implementations§
Source§impl Clone for HotKeyInfo
impl Clone for HotKeyInfo
Source§fn clone(&self) -> HotKeyInfo
fn clone(&self) -> HotKeyInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HotKeyInfo
impl Debug for HotKeyInfo
Source§impl<'de> Deserialize<'de> for HotKeyInfo
impl<'de> Deserialize<'de> for HotKeyInfo
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for HotKeyInfo
impl RefUnwindSafe for HotKeyInfo
impl Send for HotKeyInfo
impl Sync for HotKeyInfo
impl Unpin for HotKeyInfo
impl UnwindSafe for HotKeyInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more