pub struct WfbKeypair {
pub rx_secretkey: [u8; 32],
pub tx_publickey: [u8; 32],
}Fields§
§rx_secretkey: [u8; 32]§tx_publickey: [u8; 32]Implementations§
Source§impl WfbKeypair
impl WfbKeypair
pub fn from_bytes(bytes: &[u8]) -> Result<Self, WfbError>
Trait Implementations§
Source§impl Clone for WfbKeypair
impl Clone for WfbKeypair
Source§fn clone(&self) -> WfbKeypair
fn clone(&self) -> WfbKeypair
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for WfbKeypair
Source§impl Debug for WfbKeypair
impl Debug for WfbKeypair
impl Eq for WfbKeypair
Source§impl PartialEq for WfbKeypair
impl PartialEq for WfbKeypair
Source§fn eq(&self, other: &WfbKeypair) -> bool
fn eq(&self, other: &WfbKeypair) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for WfbKeypair
Auto Trait Implementations§
impl Freeze for WfbKeypair
impl RefUnwindSafe for WfbKeypair
impl Send for WfbKeypair
impl Sync for WfbKeypair
impl Unpin for WfbKeypair
impl UnsafeUnpin for WfbKeypair
impl UnwindSafe for WfbKeypair
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