pub struct UsageEntry {
pub count: u64,
pub last_used: String,
}Fields§
§count: u64§last_used: StringTrait Implementations§
Source§impl Clone for UsageEntry
impl Clone for UsageEntry
Source§fn clone(&self) -> UsageEntry
fn clone(&self) -> UsageEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 UsageEntry
impl Debug for UsageEntry
Source§impl Default for UsageEntry
impl Default for UsageEntry
Source§fn default() -> UsageEntry
fn default() -> UsageEntry
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UsageEntry
impl<'de> Deserialize<'de> for UsageEntry
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 UsageEntry
impl RefUnwindSafe for UsageEntry
impl Send for UsageEntry
impl Sync for UsageEntry
impl Unpin for UsageEntry
impl UnsafeUnpin for UsageEntry
impl UnwindSafe for UsageEntry
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