mirror of
https://github.com/YGGverse/nexy.git
synced 2026-04-01 09:45:29 +00:00
struct some configuration members
This commit is contained in:
parent
a0abeb7278
commit
e148496416
2 changed files with 52 additions and 27 deletions
20
src/session/storage/list.rs
Normal file
20
src/session/storage/list.rs
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
pub struct Time {
|
||||
pub is_accessed: bool,
|
||||
pub is_created: bool,
|
||||
pub is_modified: bool,
|
||||
}
|
||||
|
||||
pub struct Dir {
|
||||
pub time: Time,
|
||||
pub is_count: bool,
|
||||
}
|
||||
pub struct File {
|
||||
pub time: Time,
|
||||
pub is_size: bool,
|
||||
}
|
||||
|
||||
pub struct List {
|
||||
pub dir: Dir,
|
||||
pub file: File,
|
||||
pub time_format: String,
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue