Struct libkelp::lib::structs::fileinfo::FileInfo [−][src]
pub struct FileInfo {
pub name: Option<String>,
pub path: String,
pub backuponly: Option<bool>,
pub onlyon: Option<String>,
}Expand description
FileINFO struct: used for represent a file to backup
Fields
name: Option<String>The name of the file, optional but recommended to reconize files
path: StringThe path to the file “relative to / or /home/$USER”
backuponly: Option<bool>Is the file backup only ? Or must it be reinstalled
onlyon: Option<String>If the file is only usable on specific disto, specify it Note: There’s a list of bundled OSes
Trait Implementations
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 RefUnwindSafe for FileInfoimpl UnwindSafe for FileInfoBlanket Implementations
Mutably borrows from an owned value. Read more