list disks without blkid

This commit is contained in:
Aiden McClelland
2021-09-10 19:39:03 -06:00
committed by Aiden McClelland
parent 9617c9149c
commit 8c1a01b306
6 changed files with 233 additions and 123 deletions

View File

@@ -157,3 +157,13 @@ impl ActionImplementation {
}
}
}
pub struct NoOutput;
impl<'de> Deserialize<'de> for NoOutput {
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
where
D: serde::Deserializer<'de>,
{
Ok(NoOutput)
}
}