Struct quickcfg::unit::CopyTemplate
source · pub struct CopyTemplate {
pub from: PathBuf,
pub from_modified: SystemTime,
pub to: PathBuf,
pub to_exists: bool,
}
Expand description
The configuration for a unit to copy a single file.
Fields§
§from: PathBuf
The source file.
from_modified: SystemTime
Source file modification time.
to: PathBuf
The destination file.
to_exists: bool
If the destination file exists, we assume that its content is the same.
Trait Implementations§
source§impl Debug for CopyTemplate
impl Debug for CopyTemplate
source§impl Display for CopyTemplate
impl Display for CopyTemplate
source§impl From<CopyTemplate> for Unit
impl From<CopyTemplate> for Unit
source§fn from(value: CopyTemplate) -> Unit
fn from(value: CopyTemplate) -> Unit
Converts to this type from the input type.