pub enum TransactionVersion {
Legacy,
V0,
}Expand description
Message version of a decoded transaction.
Variants§
Trait Implementations§
Source§impl Clone for TransactionVersion
impl Clone for TransactionVersion
Source§fn clone(&self) -> TransactionVersion
fn clone(&self) -> TransactionVersion
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 TransactionVersion
Source§impl Debug for TransactionVersion
impl Debug for TransactionVersion
impl Eq for TransactionVersion
Source§impl PartialEq for TransactionVersion
impl PartialEq for TransactionVersion
impl StructuralPartialEq 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 UnsafeUnpin 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