pub struct OpaqueKeypairBytes {
pub private: OpaquePrivateKeyBytes,
pub public: OpaquePublicKeyBytes,
}Available on crate feature
alloc only.Expand description
The underlying representation of an OpaqueKeypair.
The encoded representation of an OpaqueKeypairBytes consists of the encoded representation of
its OpaquePublicKeyBytes followed by the encoded representation of its
OpaquePrivateKeyBytes.
Fields§
§private: OpaquePrivateKeyBytesThe opaque private key
public: OpaquePublicKeyBytesThe opaque public key
Trait Implementations§
Auto Trait Implementations§
impl Freeze for OpaqueKeypairBytes
impl RefUnwindSafe for OpaqueKeypairBytes
impl Send for OpaqueKeypairBytes
impl Sync for OpaqueKeypairBytes
impl Unpin for OpaqueKeypairBytes
impl UnwindSafe for OpaqueKeypairBytes
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
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 48 bytes