pub struct UnlockKey {
pub passphrase: String,
}Fields§
§passphrase: StringTrait Implementations§
Source§impl ProstCommunicable<Request> for UnlockKey
impl ProstCommunicable<Request> for UnlockKey
const COMMUNICATION_VARIANT: Request = Request::UnlockKey
fn to_communication_via_prost(&self) -> Communication<T>
fn try_from_communication( communication: &Communication<T>, ) -> Result<Self, DecodeError>
Source§impl ProstDecode for UnlockKey
impl ProstDecode for UnlockKey
type EncodedType = UnlockKey
fn decode<M>(message: M) -> Result<Self, DecodeError>
Auto Trait Implementations§
impl Freeze for UnlockKey
impl RefUnwindSafe for UnlockKey
impl Send for UnlockKey
impl Sync for UnlockKey
impl Unpin for UnlockKey
impl UnwindSafe for UnlockKey
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