Struct lair_keystore_api::lair_api::LairApiReqUnlock
source · pub struct LairApiReqUnlock {
pub msg_id: Arc<str>,
pub passphrase: SecretDataSized<64, 81>,
}
Expand description
Unlock the keystore – this verifies the client to the keystore.
Fields§
§msg_id: Arc<str>
Msg id to relate request / response.
passphrase: SecretDataSized<64, 81>
Passphrase to unlock the keystore.
Implementations§
source§impl LairApiReqUnlock
impl LairApiReqUnlock
sourcepub fn new(passphrase: SecretDataSized<64, 81>) -> Self
pub fn new(passphrase: SecretDataSized<64, 81>) -> Self
Make a new server unlock request.
Trait Implementations§
source§impl AsLairCodec for LairApiReqUnlock
impl AsLairCodec for LairApiReqUnlock
source§fn into_api_enum(self) -> LairApiEnum
fn into_api_enum(self) -> LairApiEnum
Convert this individual lair serialization object
into a combined API enum instance variant.
source§impl AsLairRequest for LairApiReqUnlock
impl AsLairRequest for LairApiReqUnlock
§type Response = LairApiResUnlock
type Response = LairApiResUnlock
The “Response” type associated with this request type.
source§impl Debug for LairApiReqUnlock
impl Debug for LairApiReqUnlock
source§impl<'de> Deserialize<'de> for LairApiReqUnlock
impl<'de> Deserialize<'de> for LairApiReqUnlock
source§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
source§impl Serialize for LairApiReqUnlock
impl Serialize for LairApiReqUnlock
source§impl TryFrom<LairApiEnum> for LairApiReqUnlock
impl TryFrom<LairApiEnum> for LairApiReqUnlock
Auto Trait Implementations§
impl RefUnwindSafe for LairApiReqUnlock
impl Send for LairApiReqUnlock
impl Sync for LairApiReqUnlock
impl Unpin for LairApiReqUnlock
impl UnwindSafe for LairApiReqUnlock
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