pub enum TxInner {
Legacy(Transaction),
V2(TransactionV2),
}Expand description
Transaction inner payload - supports both legacy and V2 formats
Variants§
Legacy(Transaction)
Legacy transfer transaction (backwards compatible)
V2(TransactionV2)
V2 transaction with extended payload support (NFT, etc.)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TxInner
impl<'de> Deserialize<'de> for TxInner
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for TxInner
impl StructuralPartialEq for TxInner
Auto Trait Implementations§
impl Freeze for TxInner
impl RefUnwindSafe for TxInner
impl Send for TxInner
impl Sync for TxInner
impl Unpin for TxInner
impl UnsafeUnpin for TxInner
impl UnwindSafe for TxInner
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