pub struct Receipt {Show 28 fields
pub param1: Option<U64>,
pub param2: Option<U64>,
pub amount: Option<U64>,
pub asset_id: Option<AssetId>,
pub gas: Option<U64>,
pub digest: Option<Bytes32>,
pub contract: Option<ContractIdFragment>,
pub is: Option<U64>,
pub pc: Option<U64>,
pub ptr: Option<U64>,
pub ra: Option<U64>,
pub rb: Option<U64>,
pub rc: Option<U64>,
pub rd: Option<U64>,
pub reason: Option<U64>,
pub receipt_type: ReceiptType,
pub to: Option<ContractIdFragment>,
pub to_address: Option<Address>,
pub val: Option<U64>,
pub len: Option<U64>,
pub result: Option<U64>,
pub gas_used: Option<U64>,
pub data: Option<HexString>,
pub message_id: Option<MessageId>,
pub sender: Option<Address>,
pub recipient: Option<Address>,
pub nonce: Option<Bytes32>,
pub contract_id: Option<ContractId>,
}
Fields§
§param1: Option<U64>
§param2: Option<U64>
§amount: Option<U64>
§asset_id: Option<AssetId>
§gas: Option<U64>
§digest: Option<Bytes32>
§contract: Option<ContractIdFragment>
§is: Option<U64>
§pc: Option<U64>
§ptr: Option<U64>
§ra: Option<U64>
§rb: Option<U64>
§rc: Option<U64>
§rd: Option<U64>
§reason: Option<U64>
§receipt_type: ReceiptType
§to: Option<ContractIdFragment>
§to_address: Option<Address>
§val: Option<U64>
§len: Option<U64>
§result: Option<U64>
§gas_used: Option<U64>
§data: Option<HexString>
§message_id: Option<MessageId>
§sender: Option<Address>
§recipient: Option<Address>
§nonce: Option<Bytes32>
§contract_id: Option<ContractId>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Receipt
impl<'de> Deserialize<'de> for Receipt
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
Source§impl<'de> QueryFragment<'de> for Receipt
impl<'de> QueryFragment<'de> for Receipt
Source§type SchemaType = Receipt
type SchemaType = Receipt
The type in a schema that this
QueryFragment
representsSource§fn query(builder: SelectionBuilder<'_, Self::SchemaType, Self::Variables>)
fn query(builder: SelectionBuilder<'_, Self::SchemaType, Self::Variables>)
Adds this fragment to the query being built by
builder
Auto Trait Implementations§
impl Freeze for Receipt
impl RefUnwindSafe for Receipt
impl Send for Receipt
impl Sync for Receipt
impl Unpin for Receipt
impl UnwindSafe for Receipt
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