Struct hyperfuel_client::LogContext
source · pub struct LogContext {Show 16 fields
pub block_height: UInt,
pub tx_id: Hash,
pub receipt_index: UInt,
pub receipt_type: ReceiptType,
pub contract_id: Option<Hash>,
pub root_contract_id: Option<Hash>,
pub ra: Option<UInt>,
pub rb: Option<UInt>,
pub rc: Option<UInt>,
pub rd: Option<UInt>,
pub pc: Option<UInt>,
pub is: Option<UInt>,
pub ptr: Option<UInt>,
pub len: Option<UInt>,
pub digest: Option<Hash>,
pub data: Option<Data>,
}Expand description
Contains all the fields needed for decoding plus some additional fields for context.
Fields§
§block_height: UInt§tx_id: Hash§receipt_index: UInt§receipt_type: ReceiptType§contract_id: Option<Hash>§root_contract_id: Option<Hash>§ra: Option<UInt>§rb: Option<UInt>§rc: Option<UInt>§rd: Option<UInt>§pc: Option<UInt>§is: Option<UInt>§ptr: Option<UInt>§len: Option<UInt>§digest: Option<Hash>§data: Option<Data>Trait Implementations§
source§impl Clone for LogContext
impl Clone for LogContext
source§fn clone(&self) -> LogContext
fn clone(&self) -> LogContext
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 LogContext
impl Debug for LogContext
Auto Trait Implementations§
impl Freeze for LogContext
impl RefUnwindSafe for LogContext
impl Send for LogContext
impl Sync for LogContext
impl Unpin for LogContext
impl UnwindSafe for LogContext
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more