Enum ckb_cli_plugin_protocol::KeyStoreRequest [−][src]
pub enum KeyStoreRequest { ListAccount, HasAccount(H160), CreateAccount(Option<String>), UpdatePassword { hash160: H160, password: String, new_password: String, }, Import { privkey: [u8; 32], chain_code: [u8; 32], password: Option<String>, }, ImportAccount { account_id: JsonBytes, password: Option<String>, }, Export { hash160: H160, password: Option<String>, }, Sign { hash160: H160, path: String, message: H256, target: Box<SignTarget>, recoverable: bool, password: Option<String>, }, ExtendedPubkey { hash160: H160, path: String, password: Option<String>, }, DerivedKeySet { hash160: H160, external_max_len: u32, change_last: H160, change_max_len: u32, password: Option<String>, }, DerivedKeySetByIndex { hash160: H160, external_start: u32, external_length: u32, change_start: u32, change_length: u32, password: Option<String>, }, Any(Value), }
Variants
Show fields
Show fields
Show fields
Any(Value)
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for KeyStoreRequest
impl Send for KeyStoreRequest
impl Sync for KeyStoreRequest
impl Unpin for KeyStoreRequest
impl UnwindSafe for KeyStoreRequest
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V