pub struct PreAuthTx(pub [u8; 32]);Tuple Fields§
§0: [u8; 32]Implementations§
Source§impl PreAuthTx
impl PreAuthTx
pub fn to_string(&self) -> HeaplessString<{ Self::ENCODED_LEN }>
pub fn from_string(s: &str) -> Result<Self, DecodeError>
pub fn from_slice(s: &[u8]) -> Result<Self, DecodeError>
Trait Implementations§
Source§impl Ord for PreAuthTx
impl Ord for PreAuthTx
Source§impl PartialOrd for PreAuthTx
impl PartialOrd for PreAuthTx
impl Copy for PreAuthTx
impl Eq for PreAuthTx
impl StructuralPartialEq for PreAuthTx
Auto Trait Implementations§
impl Freeze for PreAuthTx
impl RefUnwindSafe for PreAuthTx
impl Send for PreAuthTx
impl Sync for PreAuthTx
impl Unpin for PreAuthTx
impl UnwindSafe for PreAuthTx
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