pub struct KeyPair {
pub private: CryptoString,
pub public: CryptoString,
}Fields§
§private: CryptoString§public: CryptoStringImplementations§
Source§impl KeyPair
impl KeyPair
pub fn from_parts(private: String, public: String) -> Result<Self, FromHexError>
Auto Trait Implementations§
impl Freeze for KeyPair
impl RefUnwindSafe for KeyPair
impl Send for KeyPair
impl Sync for KeyPair
impl Unpin for KeyPair
impl UnwindSafe for KeyPair
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