pub struct Receipt {Show 14 fields
pub block_hash: String,
pub block_number: String,
pub contract_address: Option<String>,
pub cumulative_gas_used: String,
pub effective_gas_price: String,
pub from: String,
pub gas_used: String,
pub logs: Vec<ReceiptLog>,
pub logs_bloom: String,
pub status: String,
pub to: String,
pub transaction_hash: String,
pub transaction_index: String,
pub receipt_type: String,
}
Fields§
§block_hash: String
§block_number: String
§contract_address: Option<String>
§cumulative_gas_used: String
§effective_gas_price: String
§from: String
§gas_used: String
§logs: Vec<ReceiptLog>
§logs_bloom: String
§status: String
§to: String
§transaction_hash: String
§transaction_index: String
§receipt_type: String
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
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