pub struct PreAuthTx(pub [u8; 32]);Expand description
A pre-authorized transaction signer (T...).
Tuple Fields§
§0: [u8; 32]Implementations§
Source§impl PreAuthTx
impl PreAuthTx
pub const ENCODED_LEN: usize
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§
impl Copy for PreAuthTx
impl Eq for PreAuthTx
Source§impl Ord for PreAuthTx
impl Ord for PreAuthTx
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for PreAuthTx
impl PartialOrd 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 UnsafeUnpin 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