Add `Clone` instance to `Profile`
Signed-off-by: xphoniex <xphoniex@users.noreply.github.com>
This commit is contained in:
parent
3aa7a5635b
commit
5847ad2ff1
|
|
@ -23,7 +23,7 @@ pub enum Error {
|
|||
}
|
||||
|
||||
/// Stores keys on disk, in OpenSSH format.
|
||||
#[derive(Debug)]
|
||||
#[derive(Debug, Clone)]
|
||||
pub struct Keystore {
|
||||
path: PathBuf,
|
||||
}
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@ pub enum Error {
|
|||
KeyNotRegistered(PublicKey),
|
||||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
#[derive(Debug, Clone)]
|
||||
pub struct Profile {
|
||||
pub home: PathBuf,
|
||||
pub storage: Storage,
|
||||
|
|
|
|||
Loading…
Reference in New Issue