pub struct KeyFile {
pub file: String,
pub value: Option<String>,
pub passphrase: Option<String>,
}
Expand description
Private key loaded from text file
Fields§
§file: String
file name
value: Option<String>
§passphrase: Option<String>
The password
Trait Implementations§
Auto Trait Implementations§
impl Freeze for KeyFile
impl RefUnwindSafe for KeyFile
impl Send for KeyFile
impl Sync for KeyFile
impl Unpin for KeyFile
impl UnwindSafe for KeyFile
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more