pub enum KeyFileFormat {
Json,
LegacyHex,
}Expand description
How a signing key file was encoded.
Variants§
Json
Version-1 JSON (version, key_type, public_key, seed).
LegacyHex
Legacy bare 64-hex-character seed.
Trait Implementations§
Source§impl Clone for KeyFileFormat
impl Clone for KeyFileFormat
impl Copy for KeyFileFormat
Source§impl Debug for KeyFileFormat
impl Debug for KeyFileFormat
impl Eq for KeyFileFormat
Source§impl PartialEq for KeyFileFormat
impl PartialEq for KeyFileFormat
impl StructuralPartialEq for KeyFileFormat
Auto Trait Implementations§
impl Forget for KeyFileFormat
impl Freeze for KeyFileFormat
impl Move for KeyFileFormat
impl RefUnwindSafe for KeyFileFormat
impl Send for KeyFileFormat
impl Sync for KeyFileFormat
impl Unpin for KeyFileFormat
impl UnsafeUnpin for KeyFileFormat
impl UnwindSafe for KeyFileFormat
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