pub struct WfbTxKeypair {
pub tx_secretkey: [u8; 32],
pub rx_publickey: [u8; 32],
}Fields§
§tx_secretkey: [u8; 32]§rx_publickey: [u8; 32]Implementations§
Source§impl WfbTxKeypair
impl WfbTxKeypair
pub fn from_bytes(bytes: &[u8]) -> Result<Self, WfbError>
Trait Implementations§
Source§impl Clone for WfbTxKeypair
impl Clone for WfbTxKeypair
Source§fn clone(&self) -> WfbTxKeypair
fn clone(&self) -> WfbTxKeypair
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 WfbTxKeypair
Source§impl Debug for WfbTxKeypair
impl Debug for WfbTxKeypair
impl Eq for WfbTxKeypair
Source§impl PartialEq for WfbTxKeypair
impl PartialEq for WfbTxKeypair
Source§fn eq(&self, other: &WfbTxKeypair) -> bool
fn eq(&self, other: &WfbTxKeypair) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for WfbTxKeypair
Auto Trait Implementations§
impl Freeze for WfbTxKeypair
impl RefUnwindSafe for WfbTxKeypair
impl Send for WfbTxKeypair
impl Sync for WfbTxKeypair
impl Unpin for WfbTxKeypair
impl UnsafeUnpin for WfbTxKeypair
impl UnwindSafe for WfbTxKeypair
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