#[repr(u8)]pub enum TransactionVersion {
Legacy = 255,
V0 = 0,
}
Expand description
A byte that represents the version of the transaction.
Variants§
Trait Implementations§
Source§impl Clone for TransactionVersion
impl Clone for TransactionVersion
Source§fn clone(&self) -> TransactionVersion
fn clone(&self) -> TransactionVersion
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for TransactionVersion
impl Debug for TransactionVersion
Source§impl Default for TransactionVersion
impl Default for TransactionVersion
Source§fn default() -> TransactionVersion
fn default() -> TransactionVersion
Returns the “default value” for a type. Read more
impl Copy for TransactionVersion
Auto Trait Implementations§
impl Freeze for TransactionVersion
impl RefUnwindSafe for TransactionVersion
impl Send for TransactionVersion
impl Sync for TransactionVersion
impl Unpin for TransactionVersion
impl UnwindSafe for TransactionVersion
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