Struct ConfigEntry
#[non_exhaustive]pub struct ConfigEntry {
pub name: String,
pub stat: ConfigStat,
}Expand description
One entry of a folder.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: StringThe entry’s name, without its folder.
stat: ConfigStatThe entry’s size and age.
Trait Implementations§
§impl Clone for ConfigEntry
impl Clone for ConfigEntry
§fn clone(&self) -> ConfigEntry
fn clone(&self) -> ConfigEntry
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 more§impl Debug for ConfigEntry
impl Debug for ConfigEntry
impl Eq for ConfigEntry
§impl From<ConfigEntry> for ConfigEntry
impl From<ConfigEntry> for ConfigEntry
§fn from(v: ConfigEntry) -> ConfigEntry
fn from(v: ConfigEntry) -> ConfigEntry
Converts to this type from the input type.
§impl PartialEq for ConfigEntry
impl PartialEq for ConfigEntry
impl StructuralPartialEq for ConfigEntry
Auto Trait Implementations§
impl Freeze for ConfigEntry
impl RefUnwindSafe for ConfigEntry
impl Send for ConfigEntry
impl Sync for ConfigEntry
impl Unpin for ConfigEntry
impl UnsafeUnpin for ConfigEntry
impl UnwindSafe for ConfigEntry
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