Add `Clone` instance to `Profile`

Signed-off-by: xphoniex <xphoniex@users.noreply.github.com>
This commit is contained in:
xphoniex 2022-11-04 17:20:46 +00:00 committed by Alexis Sellier
parent 3aa7a5635b
commit 5847ad2ff1
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@ pub enum Error {
}
/// Stores keys on disk, in OpenSSH format.
#[derive(Debug)]
#[derive(Debug, Clone)]
pub struct Keystore {
path: PathBuf,
}

View File

@ -48,7 +48,7 @@ pub enum Error {
KeyNotRegistered(PublicKey),
}
#[derive(Debug)]
#[derive(Debug, Clone)]
pub struct Profile {
pub home: PathBuf,
pub storage: Storage,