pub enum IdentityCommand {
Generate {
output: Option<PathBuf>,
seed: Option<String>,
},
Show {
path: Option<PathBuf>,
},
Verify {
path: Option<PathBuf>,
},
Export {
path: Option<PathBuf>,
output: PathBuf,
format: String,
},
Sign {
identity: Option<PathBuf>,
message: MessageInput,
output: Option<PathBuf>,
},
}Variants§
Generate
Generate a new identity
Fields
Show
Show identity information
Verify
Verify identity validity
Export
Export identity in different formats
Fields
Sign
Sign a message
Implementations§
Source§impl IdentityCommand
impl IdentityCommand
pub fn try_parse_from<I, T>(iter: I) -> Result<Self, String>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for IdentityCommand
impl RefUnwindSafe for IdentityCommand
impl Send for IdentityCommand
impl Sync for IdentityCommand
impl Unpin for IdentityCommand
impl UnwindSafe for IdentityCommand
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