pub struct TxCtx {
pub tx_id: TxIdentifier,
pub index: u64,
}Expand description
Transaction-Context
Combines the TxIdentifier with the index of the transaction inside the block.
Fields§
§tx_id: TxIdentifier§index: u64Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TxCtx
impl<'de> Deserialize<'de> for TxCtx
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
Auto Trait Implementations§
impl Freeze for TxCtx
impl RefUnwindSafe for TxCtx
impl Send for TxCtx
impl Sync for TxCtx
impl Unpin for TxCtx
impl UnwindSafe for TxCtx
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