Introduce the StagedPayloadMount struct
Intent: Define a reusable data type that pairs a local filesystem path with an Incus device-name prefix, replacing the implicit coupling between two separate Option fields and their hard-coded device names.
Affected files: crates/pikaci/src/executor.rs
@@ -26,6 +26,12 @@
+#[derive(Clone, Debug)]
+pub struct StagedPayloadMount {
+ pub local_mount_path: PathBuf,
+ pub device_prefix: String,
+}
A new StagedPayloadMount struct is added at the module level in executor.rs. It captures two pieces of information that were previously spread across separate fields:
local_mount_path– the host-side directory where the staged payload is materialized.device_prefix– the string used to name Incus disk devices derived from this mount (e.g."workspace-deps").
The struct derives Clone and Debug to match the ergonomics of the surrounding types.