pub struct RecentFile {
pub name: String,
pub directory: String,
pub age_secs: u64,
}Expand description
Generic recent file state.
Fields§
§name: String§directory: String§age_secs: u64Trait Implementations§
Source§impl Clone for RecentFile
impl Clone for RecentFile
Source§fn clone(&self) -> RecentFile
fn clone(&self) -> RecentFile
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 RecentFile
impl Debug for RecentFile
Source§impl Default for RecentFile
impl Default for RecentFile
Source§fn default() -> RecentFile
fn default() -> RecentFile
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RecentFile
impl<'de> Deserialize<'de> for RecentFile
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 RecentFile
impl RefUnwindSafe for RecentFile
impl Send for RecentFile
impl Sync for RecentFile
impl Unpin for RecentFile
impl UnsafeUnpin for RecentFile
impl UnwindSafe for RecentFile
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